TX Text Control .NET for WPF

FormButton Constructor

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

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