PDFFormFieldComboBox object is one of the PDF Builder objects, and is derived from PDFFormField. PDFFormFieldComboBox is used for adding a form field of the combo box type in a PDF document.
To view the full hierarchy of the PDF Builder objects, find "pdfobject" in the Browser, right-click the object, and then select "Show Hierarchy” in the pop-up menu.
PDFFormFieldComboBox provides the following properties. In addition, it inherits the properties from its parent, PDFFormField.
PDFFormFieldComboBox property |
Datatype |
Description |
---|---|---|
PDFFormFieldTextAlignment |
Gets or sets the alignment mode. |
|
ClassDefinition |
PowerObject |
Gets or sets the font name. |
String |
Gets or sets the current value. |
|
String |
Gets or sets the default value. |
|
Boolean |
Gets or sets whether the object is editable. |
|
Gets or sets the font. |
||
Boolean |
Gets or sets whether the items in the object shall be automatically sorted. |
|
String |
Gets or sets the tooltip. |
PDFFormFieldComboBox event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
PDFFormFieldComboBox provides the following functions.
PDFFormFieldComboBox function |
Datatype returned |
Description |
---|---|---|
None |
Add an item in the combo box. |
|
String |
Returns the name assigned to the control. |
|
PDFFormFieldComboBox |
Clones the current object. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
Long |
Gets the count of item names. |
|
String |
Gets the item text of the specified index. |
|
Long |
Gets the count of item. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Boolean |
Gets the readonly state. |
|
Boolean |
Adds an event to the end of the message queue for the control. |
|
Long |
Removes all items. |
|
Long |
Removes the item of the specified index. |
|
None |
Sets a list of items. |
|
None |
Sets the readonly state. |
|
Integer |
Triggers a specified event in the control and executes the script for the event. |
|
Object |
Returns the type of the control. |