TX Text Control .NET for Windows Forms

FormText Constructor

Constructor|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the FormText class.

Syntax

FormText()

Initializes a complete new instance of the FormText class without a connection to an existing ApplicationField.

public FormText();

FormText(ApplicationField)

Initializes a new instance of the FormText class with a connection to an existing ApplicationField.

public FormText(ApplicationField appField);
ParameterDescription
appField

Specifies the ApplicationField to be adapted.

Examples

The following example creates a Form Text instance and configures its max length setting for a document workflow.

TXTextControl.DocumentServer.Fields.FormText formText = new();
formText.MaxLength = 1;