FormFieldBuilder
Overview
FormFieldBuilder is a class in Aspose.PDF FOSS for .NET.
Creates new interactive form fields and adds them to a PDF document.
This class provides 7 methods for working with FormFieldBuilder objects in .NET programs.
Available methods include: AddCheckBox, AddComboBox, AddListBox, AddRadioButton, AddSignatureField, AddTextField, FormFieldBuilder.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Methods
| Signature | Description |
|---|---|
FormFieldBuilder(document: Document) | Calls FormFieldBuilder on this FormFieldBuilder instance. |
AddTextField(page: Page, name: string, rect: Rectangle, defaultValue: string?, fontSize: double) | Add a text field to a page. |
AddCheckBox(page: Page, name: string, rect: Rectangle, isChecked: bool) | Add a checkbox field to a page. |
AddComboBox(page: Page, name: string, rect: Rectangle, options: string[], selectedValue: string?, fontSize: double) | Add a choice field (dropdown/combo box) to a page. |
AddRadioButton(page: Page, name: string, optionRects: Rectangle[], optionValues: string[], selectedIndex: int) | Add a radio button group with multiple options to a page. |
AddListBox(page: Page, name: string, rect: Rectangle, options: string[], selectedValue: string?, fontSize: double) | Add a list box field to a page. |
AddSignatureField(page: Page, name: string, rect: Rectangle) | Add an empty signature field placeholder to a page. |