AcroForm
Interactive forms in PDF format are also known as AcroForm. The AcroForm class in PdfProcessing represents the interactive form in a PDF document providing the collection of all FormFields in a RadFixedDocument instance.
The AcroForm class instance is unique for each RadFixedDocument instance and may be accessed through the AcroForm property of RadFixedDocument.
You can find complete examples for Creating Interactive Forms and Modifying Forms in our SDK repository.
AcroForm properties
The AcroForm class provides the following properties:
Property | Description |
---|---|
FormFields | This property is of type FormFieldCollection and represents the collection of all FormField instances. You can use the collection indexer to get a FormField instance by name. The Add(), Remove() and Contains() methods allow you to modify the FormFields collection. Additionally, the FormFieldCollection class implements the IEnumerable |
ViewersShouldRecalculateWidgetAppearances | A boolean value indicating whether the Widget appearances should be recalculated before visualizing them in a PDF viewer. If true, the PDF viewers should dynamically reconstruct all widgets content based on widget text properties and appearance characteristics. Otherwise, the PDF viewer should rely on the AnnotationContentSource instances provided by each Widget annotation in order to render its content in the UI. |
XfaForms | Gets a collection of XFA (XML Forms Architecture) forms, which allows storing and managing form data as a collection of name and byte array pairs. The XfaCollection offers the public Clear method which removes all form entries from the collection.(Introduced in Q1 2025) |