TX Text Control .NET for WPF

FieldType Property

Property|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

Gets or sets the type of the field.

Syntax

public FieldType FieldType { get; set; }

Examples

The following example uses FormField.FieldType to configure field type as part of the form field workflow. The configured value is checked before the workflow continues.

formField.FieldType = TXTextControl.DocumentServer.PDF.AcroForms.FieldType.Btn;
Console.WriteLine($"Field Type used by Form Field: {formField.FieldType}");