Pdf |
The PdfInteractiveForms type exposes the following members.
| Name | Description | |
|---|---|---|
| Controls | Gets collection of controls. | |
| DefaultFont | Gets the default font for Acro forms | |
| Dictionary | Gets AcroForm's dictionary | |
| Fields | Gets collection of fields for gathering information interactively from the user. | |
| FillForms | Gets the PdfForms object containing acroforms. | |
| Fonts | Gets the collection of fonts in an acroform resource dictionary. | |
| Handle | Gets the Pdfium SDK handle that the interactive forms is bound to | |
| HasXFAForm | Determines that the document contains XFA Forms |
| Name | Description | |
|---|---|---|
| ExportToFdf | Export fields into Forms Data Format (FDF) document | |
| FixPageFields | Fix page fields | |
| GetControlByDict | Gets the widget with the specified dictionary. | |
| GetDefaultAppearance | Get the default field's text size, colors and font. | |
| GetFieldByDict | Gets the Field with the specified dictionary. | |
| GetPageControls | Gets collection of controls for specified page. | |
| HasDefaultAppearance | Checks if acroforms dictionary contain the valid default appearance value. | |
| ImportFromFdf | Import fields from Forms Data Format (FDF) document | |
| IsValidControl | Determines that specified Control is a valid Control | |
| IsValidField | Determines that specified Field is a valid Field from the hierarchy of documents fields | |
| ReloadForms | Reloads acroforms. Should be called after adding new fields and controls in order for them to appear in the corresponding collections. | |
| RemoveField | Removes the first occurrence of a specific form field from the Fields. | |
| ResetForm | Resets forms to their default values. | |
| SetDefaultAppearance | Set the font to the DA (default appearance) entry of acroforms dictionary. |
A PDF document may contain any number of fields appearing on any combination of pages, all of which make up a single, global interactive form spanning the entire document.
Each field in a document’s interactive form is defined by a Fields property. A field may also include one or more widget annotations that define its appearance on the page.
| Interactive forms should not be confused with form XObjects. Despite the similarity of names, the two are different, unrelated types of objects. |