FormButton Class
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.dll
- Inherits
- Form
Field - Form
Button
- Form
Description
The FormButton class implements the Adobe PDF AcroForms button field.
Syntax
public class FormButton : FormFieldPublic Class FormButton
Inherits FormFieldExamples
The following example creates a Form Button instance and configures its field name setting for a document workflow.
TXTextControl.DocumentServer.PDF.AcroForms.FormButton formButton = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormField());
formButton.FieldName = "CustomerName";Dim formButton As New TXTextControl.DocumentServer.PDF.AcroForms.FormButton(New TXTextControl.DocumentServer.PDF.AcroForms.FormField())
formButton.FieldName = "CustomerName"Members
Constructors
| Constructor | Description |
|---|---|
| FormButton | Initializes a new instance of the FormButton class. |
| FormField | Initializes a new instance of the FormField class. (Inherited from AcroForms.FormField.) |
Properties
| Property | Description |
|---|---|
| AlternateFieldName | Gets or sets the alternate field name of the field. (Inherited from AcroForms.FormField.) |
| Bounds | Gets or sets the rectangle bounds of the form field in the document. (Inherited from AcroForms.FormField.) |
| FieldName | Gets or sets the name of the field. (Inherited from AcroForms.FormField.) |
| FieldType | Gets or sets the type of the field. (Inherited from AcroForms.FormField.) |