Click or drag to resize
Pdf Library for .NET

PdfFormManager Properties

The PdfFormManager type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleCompactSave Gets or sets a value indicating whether the document is rewritten from scratch on save instead of being updated incrementally. Default is false.
Public propertyFields 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.
Public propertyFlatten 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.
Public propertyIsXfaForm 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.
Public propertyReadOnly Gets or sets a value indicating whether the pdf form is read-only or not.
Public propertyScriptErrors 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.
Public propertyScriptMessages 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.
Public propertyCode exampleXfaMode 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.
Top
See Also