The Forms namespace provides access to the PDF form and form fields. It allows you to create, delete and modify a PDF's form, its fields and their properties, including getting and setting the field values.
Methods in this namespace affect the PDF's standard form objects (Acroform), but not the XFA data, if present. See
XFA Support for more information.
Classes
| Class | Description |
| CheckBox |
A check box field. Allows single or multiple selection options.
|
| ChoiceField |
A base field that contains multiple choices.
A base class for combobox, listbox, radio, and checkbox.
|
| ChoiceOption |
A choice (used in comboboxes, listboxes, and radio groups). Encapsulates the text displayed,
the export value, and whether or not the choice is selected.
|
| ComboBox |
A combo box (dropdown menu). Allows single item selection from a pre-defined list.
|
| Field |
The abstract base class for all fields.
|
| FieldArray |
The array of fields associated with the form.
|
| Form |
The AcroForm associated with the PDF document.
|
| ListBox |
A list box. Allows multiple item selection from a pre-defined list.
|
| PushButton |
A push button field. Used to control actions in the form.
|
| RadioGroup |
A radio group (a collection of radio buttons). Allows mutually-exclusive selection options.
|
| SignatureField |
A signature field. Allows a document to be verified and certified for integrity and owner identity.
|
| TextField |
A text field. Allows arbitrary user text inuput.
|
Enumerations
| Enumeration | Description |
| FieldType |
The field type.
|
| TextJustification |
The justification for text. 0 for left, 1 for centered, and 2 for right.
|
See Also