TX Text Control .NET Server

TextFieldType Enumeration

Enumeration|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Specifies types of text fields. The enumeration contains the following values:

Syntax

[Flags]
public enum TextFieldType

Members

MemberValueDescription
ApplicationField98304The field type is ApplicationField.
CheckFormField262144The field type is CheckFormField.
DateFormField2097152The field type is DateFormField.
FormFields3932160Specifies all types of FormFields.
PageNumberField133120The field type is PageNumberField.
SelectionFormField524288The field type is SelectionFormField.
TextFormField1048576The field type is TextFormField.
TextField16384The field type is TextField.
All4181760Specifies all types of text fields.

Examples

The following example selects the Hypertext Link value from the Text Field Type enumeration and uses it as a documented workflow choice.

TextFieldType value = TextFieldType.HypertextLink;
Console.WriteLine($"Using Text Field Type: {value}");

See Also

IFormattedText.GetTextFields Method.