Namespace: Spire.Doc.Fields
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public class Field : TextRange, IField, 
	ITextRange, IParagraphBase, IDocumentObject, [T:sprᧂ], [T:sprᧀ]
Public Class Field
	Inherits TextRange
	Implements IField, ITextRange, IParagraphBase, IDocumentObject, 
	[T:sprᧂ], [T:sprᧀ]
public ref class Field : public TextRange, 
	IField, ITextRange, IParagraphBase, IDocumentObject, [T:sprᧂ], 
	[T:sprᧀ]
type Field =  
    class
        inherit TextRange
        interface IField
        interface ITextRange
        interface IParagraphBase
        interface IDocumentObject
        interface [T:sprᧂ]
        interface [T:sprᧀ]
    end

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Field(IDocument)
Creates Field object for specified document
ApplyCharacterFormat(CharacterFormat)
Sets the character format.
(Inherited from ParagraphBase.)
ApplyStyle(String) (Inherited from ParagraphBase.)
CharacterFormat
Gets the character format.
(Inherited from TextRange.)
ChildObjects
Gets the child objects of the entity.
(Inherited from ParagraphBase.)
Clone()()()() (Inherited from DocumentObject.)
CloneImpl()()()() (Overrides TextRange..::..CloneImpl()()()().)
Code
Gets or sets the field code.
ConvertSwitchesToString()()()()
CreateLayoutInfo()()()() (Overrides TextRange..::..CreateLayoutInfo()()()().)
DeleteRevision
Gets the delete revision for this objects. Note this can be null. If null does not have delete revision.
(Inherited from ParagraphBase.)
Document
Gets the document.
(Inherited from OwnerHolder.)
DocumentObjectType
Gets the type of the document object.
(Overrides TextRange..::..DocumentObjectType.)
End
Gets or sets the field end.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FieldText
Gets or Sets Filed Displays text information.
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FirstChild (Inherited from DocumentObject.)
GetAncestor(DocumentObjectType) (Inherited from ParagraphBase.)
GetCultureInfo(Int32)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetNextWidgetSibling()()()() (Inherited from ParagraphBase.)
GetPreviousWidgetSibling()()()() (Inherited from ParagraphBase.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitXDLSHolder()()()() (Inherited from TextRange.)
InsertRevision
Gets the insert revision for this objects. Note this can be null. If null does not have insert revision.
(Inherited from ParagraphBase.)
IsComposite
Indicating whether this instance is composite.
(Inherited from DocumentObject.)
IsDeleteRevision
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.)
IsInsertRevision
Gets a value indicating whether this item was inserted to the document, when "Track Changes" is or was set to "true".
(Inherited from ParagraphBase.)
IsLocked
Gets or sets the lock property of the filed.if the field is locked,the field can't be updated.
LastChild (Inherited from DocumentObject.)
m_bConvertedToText
m_charFormat (Inherited from ParagraphBase.)
m_doc (Inherited from OwnerHolder.)
m_fieldType
m_fieldValue
m_formattingString
m_paraItemType
m_textFormat
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NextSibling
Gets the next sibling.
(Inherited from DocumentObject.)
Owner
Gets the owner of this entity.
(Inherited from DocumentObject.)
OwnerParagraph
Gets owner paragraph.
(Inherited from ParagraphBase.)
ParseField(String)
ParseFieldCode(String)
ParseFieldFormat(array<String>[]()[][])
Pattern
Returns or sets field pattern.
PreviousSibling
Gets the previous sibling.
(Inherited from DocumentObject.)
ReadXmlAttributes(IXDLSAttributeReader) (Overrides DocumentSerializable..::..ReadXmlAttributes(IXDLSAttributeReader).)
ReadXmlContent(IXDLSContentReader) (Inherited from TextRange.)
RestoreReference(String, Int32) (Inherited from DocumentSerializable.)
Separator
Gets or sets the field separator.
StyleName
Gets the style name.
(Inherited from ParagraphBase.)
Text
Returns or sets text.
(Inherited from TextRange.)
TextFormat
Gets or sets regular text format.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
ToString(String)
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject.)
Type
Returns or sets field type
UpdateFieldCode(String)
Value
Gets the field value.
WriteXmlAttributes(IXDLSAttributeWriter) (Overrides DocumentSerializable..::..WriteXmlAttributes(IXDLSAttributeWriter).)
WriteXmlContent(IXDLSContentWriter) (Inherited from TextRange.)
XDLSHolder (Inherited from DocumentSerializable.)

Inheritance Hierarchy

System..::..Object
  Spire.Doc..::..OwnerHolder
    Spire.Doc.Documents.XML..::..DocumentSerializable
      Spire.Doc..::..DocumentObject
        Spire.Doc..::..DocumentBase
          Spire.Doc.Fields..::..ParagraphBase
            Spire.Doc.Fields..::..TextRange
              Spire.Doc.Fields..::..Field
                Spire.Doc.Fields..::..ControlField
                Spire.Doc.Fields..::..FormField
                Spire.Doc.Fields..::..IfField
                Spire.Doc.Fields..::..MergeField
                Spire.Doc.Fields..::..SequenceField

See Also