FormButton Constructor
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the FormButton class.
Initializes a new instance of the FormButton class based on a given FormField.
Syntax
public FormButton(FormField parent);Public Sub New(parent As FormField)Parameters
| Parameter | Description |
|---|---|
| parent | Specifies the parent FormField. |
Examples
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"