A document's interactive form (AcroForm): its fields, their widgets, and the form-wide defaults. A live view over the interactive form dictionary.
public sealed class PdfAcroForm
ISO 32000-2 §12.7.1 to §12.7.3, Table 224. All fields of a document make up one global form. The field hierarchy is read from
Fields through the fields' Kids once, when first needed, and read again when a dictionary or array it read has
changed; the field views are the same instances until then, also when read from several threads. The other entries are read
on every call.
Malformed trees (cycles, kids under two parents, missing or mismatched Parent entries, missing names or types) are read as
far as they can be, each deviation recorded as a diagnostic when the tree is read (lenient mode); in strict mode reading the
tree throws. Reading writes nothing to the file: no appearance is generated and no missing entry is filled in. The Add
methods (AddTextField(String, PdfPage, PdfRectangle, PdfFieldOptions?) and the others) create fields with their widgets and appearances (§12.7.4, §12.7.5).
kind:method, kind:property, kind:ctor. Press Esc to clear.AllFieldsGets every field of the form, depth first in Kids order: each non-terminal field before its children.CalculationOrderGets the fields with calculation actions in the order their values are recalculated (CO, PDF 1.3); empty when absent.DefaultAppearanceGets the document-wide default appearance string (DA), or null; read as bytes, one character per byte, not parsed.DefaultResourcesGets the default resources used by the form's appearance streams (DR), or null.DictionaryGets the interactive form dictionary.FieldsGets the root fields (Fields), in order.NeedAppearancesGets a value indicating whether a processor shall construct appearances for all widgets (NeedAppearances, deprecated in PDF 2.0); default false.QuaddingGets the document-wide justification of variable text (Q); default left.ReferenceGets the indirect reference to the interactive form dictionary, or null when the catalog holds it directly.SignatureFlagsGets the document-level signature flags (SigFlags, PDF 1.3); none when absent.TerminalFieldsGets the terminal fields of the form, depth first in Kids order.XfaGets the form's XFA resource (XFA, deprecated in PDF 2.0), or null when it has none.AddCheckBox(String, PdfPage, PdfRectangle, PdfFieldOptions?)Creates a check box with one widget on page, unchecked.AddComboBox(String, PdfPage, PdfRectangle, IEnumerable<PdfChoiceOption>, PdfFieldOptions?)Creates a combo box with one widget on page, nothing selected.AddListBox(String, PdfPage, PdfRectangle, IEnumerable<PdfChoiceOption>, PdfFieldOptions?)Creates a list box with one widget on page, nothing selected.AddPushButton(String, PdfPage, PdfRectangle, PdfFieldOptions?)Creates a push button with one widget on page, showing Caption.AddRadioButtons(String, IEnumerable<PdfRadioButton>, PdfFieldOptions?)Creates a radio button field with one widget per button, none selected.AddSignatureField(String, PdfPage, PdfRectangle, PdfFieldOptions?)Creates an unsigned signature field with one widget on page.AddTextField(String, PdfPage, PdfRectangle, PdfFieldOptions?)Creates a text field with one widget on page.FindField(CosDictionary)Returns the field whose field dictionary is dictionary, or null when the form's tree has none.FindField(String)Returns the first field whose fully qualified name is fullyQualifiedName, or null.FindFields(PdfActionTarget)Returns the fields an action target names: a hide action's T or a submit-form or reset-form action's Fields element. A name gives every field with that fully qualified name; a dictionary gives the field it is, or the field of a widget.FindFields(String)Returns the fields whose fully qualified name is fullyQualifiedName: usually one, several when the file repeats a name.