FieldType Enumeration
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.dll
Description
Implements the PDF from field type enumeration. The enumeration contains the following values:
Syntax
public enum FieldTypePublic Enum FieldTypeMembers
| Member | Value | Description |
|---|---|---|
| Btn | 0 | Specifies an AcroForms button. |
| Tx | 1 | Specifies an AcroForms text field. |
| Sig | 2 | Specifies an AcroForms signature field. |
| Ch | 3 | Specifies 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}");Dim value As TXTextControl.DocumentServer.PDF.AcroForms.FieldType = TXTextControl.DocumentServer.PDF.AcroForms.FieldType.Btn
Console.WriteLine($"Using Field Type: {value}")