Available for: UI for ASP.NET MVC | UI for ASP.NET AJAX | UI for Blazor | UI for WPF | UI for WinForms | UI for Silverlight | UI for Xamarin | UI for WinUI | UI for ASP.NET Core | UI for .NET MAUI

New to Telerik Document Processing? Download free 30-day trial

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:

  • 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 interface, allowing you to iterate all fields in the collection.

    Each FormField has a unique name in this collection and you cannot add two fields with the same name.

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

See Also

In this article