Click or drag to resize

Field Class

Inheritance Hierarchy
SystemObject
  Spire.DocOwnerHolder
    Spire.Doc.Documents.XMLDocumentSerializable
      Spire.DocDocumentObject
        Spire.DocDocumentBase
          Spire.Doc.FieldsParagraphBase
            Spire.Doc.FieldsTextRange
              Spire.Doc.FieldsField
                Spire.Doc.FieldsControlField
                Spire.Doc.FieldsFormField
                Spire.Doc.FieldsIfField
                Spire.Doc.FieldsMergeField
                Spire.Doc.FieldsSequenceField

Namespace:  Spire.Doc.Fields
Assembly:  Spire.Doc (in Spire.Doc.dll) Version: 9.10.0.0 (9.10.0.3040)
Syntax
public class Field : TextRange, IField, 
	ITextRange, IParagraphBase, IDocumentObject

The Field type exposes the following members.

Constructors
  NameDescription
Public methodField
Creates Field object for specified document
Top
Properties
  NameDescription
Public propertyCharacterFormat
Gets the character format.
(Inherited from TextRange.)
Public propertyChildObjects
Gets the child objects of the entity.
(Inherited from ParagraphBase.)
Public propertyCode
Gets or sets the field code.
Public propertyDeleteRevision
Gets the delete revision for this objects. Note this can be null. If null does not have delete revision.
(Inherited from ParagraphBase.)
Public propertyDocument
Gets the document.
(Inherited from OwnerHolder.)
Public propertyDocumentObjectType
Gets the type of the document object.
(Overrides TextRangeDocumentObjectType.)
Public propertyEnd
Gets or sets the field end.
Public propertyFieldText
Gets or Sets Filed Displays text information.
Public propertyFirstChild (Inherited from DocumentObject.)
Public propertyInsertRevision
Gets the insert revision for this objects. Note this can be null. If null does not have insert revision.
(Inherited from ParagraphBase.)
Public propertyIsComposite
Indicating whether this instance is composite.
(Inherited from DocumentObject.)
Public propertyIsDeleteRevision
Gets or set a value indicating whether this item was deleted from the document, when "Track Changes" is or was set to "true".
(Inherited from ParagraphBase.)
Public propertyIsInsertRevision
Gets a value indicating whether this item was inserted to the document, when "Track Changes" is or was set to "true".
(Inherited from ParagraphBase.)
Public propertyIsLocked
Gets or sets the lock property of the filed.if the field is locked,the field can't be updated.
Public propertyLastChild (Inherited from DocumentObject.)
Public propertyNextSibling
Gets the next sibling.
(Inherited from DocumentObject.)
Public propertyOwner
Gets the owner of this entity.
(Inherited from DocumentObject.)
Public propertyOwnerParagraph
Gets owner paragraph.
(Inherited from ParagraphBase.)
Public propertyPattern
Returns or sets field pattern.
Public propertyPreviousSibling
Gets the previous sibling.
(Inherited from DocumentObject.)
Public propertySeparator
Gets or sets the field separator.
Public propertyStyleName
Gets the style name.
(Inherited from ParagraphBase.)
Public propertyText
Returns or sets text.
(Inherited from TextRange.)
Public propertyTextFormat
Gets or sets regular text format.
Public propertyType
Returns or sets field type
Public propertyValue
Gets the field value.
Protected propertyXDLSHolder (Inherited from DocumentSerializable.)
Top
Methods
  NameDescription
Public methodApplyCharacterFormat
Sets the character format.
(Inherited from ParagraphBase.)
Public methodApplyStyle (Inherited from ParagraphBase.)
Public methodClone (Inherited from DocumentObject.)
Protected methodCloneImpl (Overrides TextRangeCloneImpl.)
Protected methodConvertSwitchesToString
Protected methodCreateLayoutInfo (Overrides TextRangeCreateLayoutInfo.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetCultureInfo
Public methodGetHashCode (Inherited from Object.)
Public methodGetNextWidgetSibling (Inherited from ParagraphBase.)
Public methodGetPreviousWidgetSibling (Inherited from ParagraphBase.)
Public methodGetType (Inherited from Object.)
Protected methodInitXDLSHolder (Inherited from TextRange.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodParseField
Protected methodParseFieldCode
Protected methodParseFieldFormat
Protected methodReadXmlAttributes (Overrides DocumentSerializableReadXmlAttributes(IXDLSAttributeReader).)
Protected methodReadXmlContent (Inherited from TextRange.)
Protected methodRestoreReference (Inherited from DocumentSerializable.)
Public methodToString (Inherited from Object.)
Public methodToString(String)
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject.)
Protected methodUpdateFieldCode
Protected methodWriteXmlAttributes (Overrides DocumentSerializableWriteXmlAttributes(IXDLSAttributeWriter).)
Protected methodWriteXmlContent (Inherited from TextRange.)
Top
Fields
See Also