Click or drag to resize
Pdftools logo

DocumentFormFields Property

The form fields of the document

This list contains all AcroForm form fields that belong to this document. Adding to this list results in an error:
  • IllegalState if the list has already been closed
  • UnsupportedOperation if the document is read-only
  • IllegalArgument
    • if the given form field node is
    • if the given form field node has already been closed
    • if the given form field node does not belong to the same document as the list
    • if the given form field node has already been added to a form field node list
    • if the given form field node's identifier equals an identifier of one of the form field nodes in this list
This list does not support removing elements or setting elements or clearing.

Namespace: PdfTools.Toolbox.Pdf
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.1.0+5820e9ca9ca173983539ffc40abc227fb62e6928
Syntax
C#
public FieldNodeMap FormFields { get; }

Property Value

FieldNodeMap
Exceptions
ExceptionCondition
InvalidOperationExceptionif the document has already been closed
CorruptExceptionif the document contains corrupt form fields
See Also