TX Text Control .NET Server

FieldType Enumeration

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

Description

Implements the PDF from field type enumeration. The enumeration contains the following values:

Syntax

public enum FieldType

Members

MemberValueDescription
Btn0Specifies an AcroForms button.
Tx1Specifies an AcroForms text field.
Sig2Specifies an AcroForms signature field.
Ch3Specifies an AcroForms choice field.

Examples

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

TXTextControl.DocumentServer.PDF.AcroForms.FieldType value = TXTextControl.DocumentServer.PDF.AcroForms.FieldType.Btn;
Console.WriteLine($"Using Field Type: {value}");