Pdf | |
The PdfFormManager type exposes the following members.
| Name | Description | |
|---|---|---|
| CompactSave | Gets or sets a value indicating whether the document is rewritten from scratch on save instead of being updated incrementally. Default is false. | |
| Fields | Gets the collection of form fields in the loaded document. A document with no AcroForm - which is the state a document is in after Flatten and a save - returns an EMPTY collection, not null, so manager.Fields.Count is always safe to read. | |
| Flatten | Gets or sets a value indicating whether the whole form is flattened on save. An XFA form that lays itself out is saved flattened as the pages it lays out, with the values it holds and no form. | |
| IsXfaForm | Gets a value indicating whether the loaded document's form is defined in XFA (a form that lays itself out, or a hybrid form), whatever XfaMode says. | |
| ReadOnly | Gets or sets a value indicating whether the pdf form is read-only or not. | |
| ScriptErrors | Gets the errors the form's own scripts failed with (what Acrobat's JavaScript console shows), or why an XFA form could not be opened as XFA in Auto mode. Empty for an AcroForm. | |
| ScriptMessages | Gets the messages the form's own scripts showed, in the order they were shown (an XFA form reports this way a value its validation refuses, or the result of its own check button). Empty for an AcroForm. | |
| XfaMode | Gets or sets how a form defined in XFA is filled: as XFA, or through its AcroForm fields. Default is Auto. It applies to the documents loaded after it is set. |