com.spire.doc.fields
Class DropDownFormField
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.TextRange
com.spire.doc.fields.Field
com.spire.doc.fields.FormField
com.spire.doc.fields.DropDownFormField
- All Implemented Interfaces:
- IDocumentObject, IDocumentSerializable, IField, IParagraphBase, ITextRange
public class DropDownFormField
- extends FormField
Methods inherited from class com.spire.doc.fields.FormField |
getCalculateOnExit, getEnabled, getFormFieldType, getHelp, getMacroOnEnd, getMacroOnStart, getName, getStatusBarHelp, setCalculateOnExit, setEnabled, setHelp, setMacroOnEnd, setMacroOnStart, setName, setStatusBarHelp |
Methods inherited from class com.spire.doc.fields.Field |
getCode, getEnd, getFieldText, getPattern, getSeparator, getTextFormat, getType, getValue, isLocked, isLocked, setCode, setEnd, setFieldText, setPattern, setTextFormat, setType, update |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
applyCharacterFormat, applyStyle, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
DropDownFormField
public DropDownFormField(IDocument doc)
- Initializes a new instance of the class.
- Parameters:
doc
-
getDocumentObjectType
public DocumentObjectType getDocumentObjectType()
- Gets the type of the document object.
- Specified by:
getDocumentObjectType
in interface IDocumentObject
- Overrides:
getDocumentObjectType
in class Field
- Returns:
- The type of the document object.
getDropDownSelectedIndex
public int getDropDownSelectedIndex()
- Gets or sets selected drop down index.
setDropDownSelectedIndex
public void setDropDownSelectedIndex(int value)
- Gets or sets selected drop down index.
getDropDownItems
public DropDownCollection getDropDownItems()
- Gets drop down items.