Click or drag to resize

PdfInteractiveForms Class

Encapsulates a fields for gathering information interactively from the user.
Inheritance Hierarchy

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
public class PdfInteractiveForms

The PdfInteractiveForms type exposes the following members.

Public propertyControls
Gets collection of controls.
Public propertyDefaultFont
Gets the default font for Acro forms
Public propertyDictionary
Gets AcroForm's dictionary
Public propertyFields
Gets collection of fields for gathering information interactively from the user.
Public propertyFillForms
Gets the PdfForms object containing acroforms.
Public propertyFonts
Gets the collection of fonts in an acroform resource dictionary.
Public propertyHandle
Gets the Pdfium SDK handle that the interactive forms is bound to
Public propertyHasXFAForm
Determines that the document contains XFA Forms
Public methodExportToFdf
Export fields into Forms Data Format (FDF) document
Public methodFixPageFields
Fix page fields
Public methodGetControlByDict
Gets the widget with the specified dictionary.
Public methodGetDefaultAppearance
Get the default field's text size, colors and font.
Public methodGetFieldByDict
Gets the Field with the specified dictionary.
Public methodGetPageControls
Gets collection of controls for specified page.
Public methodHasDefaultAppearance
Checks if acroforms dictionary contain the valid default appearance value.
Public methodImportFromFdf
Import fields from Forms Data Format (FDF) document
Public methodIsValidControl
Determines that specified Control is a valid Control
Public methodIsValidField
Determines that specified Field is a valid Field from the hierarchy of documents fields
Public methodReloadForms
Reloads acroforms. Should be called after adding new fields and controls in order for them to appear in the corresponding collections.
Public methodRemoveField
Removes the first occurrence of a specific form field from the Fields.
Public methodResetForm
Resets forms to their default values.
Public methodSetDefaultAppearance
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.

Note Note
Interactive forms should not be confused with form XObjects. Despite the similarity of names, the two are different, unrelated types of objects.
See Also