TX Text Control .NET Server

FormButton Constructor

Constructor|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

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);

Parameters

ParameterDescription
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";