PdfAcroForm Class

Definition

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

Remarks

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).

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (12)

Methods (11)