PDFFormField object is one of the PDF Builder objects, and is derived from PDFVisibleContent and is the ancestor objects of PDFFormFieldCheckBox, PDFFormFieldComboBox, PDFFormFieldListBox, PDFFormFieldPushButton, PDFFormFieldRadioButton, and PDFFormFieldText. PDFFormField is the base object and provides the common properties, events and functions of all the form fields.
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.
PDFFormField provides the following properties. In addition, it inherits the properties from its parent, PDFVisibleContent.
PDFFormField property |
Datatype |
Description |
---|---|---|
Gets or sets the back color. |
||
Gets or sets the border color. |
||
PDFFormFieldBorderStyle |
Gets or sets the border style. |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
PDFFormFieldDisplay |
Gets or sets the display mode. |
|
Gets or sets the fill color (Can be taken as the text color). |
||
PDFFormFieldOrientation |
Gets or sets the orientation. |
|
Real |
Gets or sets the line width of the border. |
PDFFormField event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
PDFFormField provides the following functions.
PDFFormField function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the object. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Boolean |
Adds an event to the end of the message queue for the control. |
|
Integer |
Triggers a specified event in the control and executes the script for the event. |
|
Object |
Returns the type of the control. |