PDFFormFieldText object is one of the PDF Builder objects, and is derived from PDFFormField. PDFFormFieldText is used for adding a form field of the text 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.
PDFFormFieldText provides the following properties. In addition, it inherits the properties from its parent, PDFFormField.
PDFFormFieldText property |
Datatype |
Description |
---|---|---|
PDFFormFieldButtonStyle |
Gets or sets the alignment mode of the text. |
|
Real |
Gets or sets the char spacing of the text. |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Boolean |
Gets or sets the current value. |
|
Boolean |
Gets or sets the default value. |
|
PDFFont |
Gets or sets the font. |
|
Long |
Gets or sets the maximum characters in the text. |
|
Boolean |
Gets or sets whether to show the text in multi-line mode. |
|
Boolean |
Gets or sets whether to show the text as password. |
|
Boolean |
Gets or sets whether the text is scrollable. |
|
String |
Gets or sets the tooltip. |
PDFFormFieldText event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
PDFFormFieldText provides the following functions.
PDFFormFieldText function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control. |
|
PDFFormFieldCheckBox |
Clones the current 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. |
|
None |
Gets the read-only state of the current object. |
|
Boolean |
Adds an event to the end of the message queue for the control. |
|
Boolean |
Sets the read-only state of the current object. |
|
Integer |
Triggers a specified event in the control and executes the script for the event. |
|
Object |
Returns the type of the control. |