TX Text Control .NET for Windows Forms

FormButton Class

Class|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Inherits
  1. FormField
  2. FormButton

Description

The FormButton class implements the Adobe PDF AcroForms button field.

Syntax

public class FormButton : 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";

Members

Constructors

ConstructorDescription
FormButtonInitializes a new instance of the FormButton class.
FormFieldInitializes a new instance of the FormField class. (Inherited from AcroForms.FormField.)

Properties

PropertyDescription
AlternateFieldNameGets or sets the alternate field name of the field. (Inherited from AcroForms.FormField.)
BoundsGets or sets the rectangle bounds of the form field in the document. (Inherited from AcroForms.FormField.)
FieldNameGets or sets the name of the field. (Inherited from AcroForms.FormField.)
FieldTypeGets or sets the type of the field. (Inherited from AcroForms.FormField.)