com.spire.doc.fields
Class FieldMark
java.lang.Object
com.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.fields.FieldMark
- All Implemented Interfaces:
- IDocumentObject, IDocumentSerializable, IParagraphBase
public class FieldMark
- extends ParagraphBase
Methods inherited from class com.spire.doc.fields.ParagraphBase |
applyCharacterFormat, applyStyle, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
FieldMark
public FieldMark(IDocument doc,
FieldMarkType type)
- Initializes a new instance of the class.
- Parameters:
doc
- The doc.type
- The type.
getDocumentObjectType
public DocumentObjectType getDocumentObjectType()
- Gets the type of the document object.
- Specified by:
getDocumentObjectType
in interface IDocumentObject
- Specified by:
getDocumentObjectType
in class DocumentObject
- Returns:
- The type of the document object.
getCharacterFormat
public CharacterFormat getCharacterFormat()
- Gets character format of field mark.
- Overrides:
getCharacterFormat
in class ParagraphBase
- Returns:
- The paragraph item character format.
getType
public FieldMarkType getType()
- Gets or sets type of field mark.
setType
public void setType(FieldMarkType value)
- Gets or sets type of field mark.