TX Text Control .NET Server

FormField Class

Class|Introduced in 29.0
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
Derived
FormButton, FormCheckBox, FormChoiceField, FormTextField

Description

The FormField class implements the base class for the Adobe PDF AcroForms form fields.

Syntax

public class FormField

Examples

The following example creates a Form Field instance and configures its field name setting for a document workflow.

TXTextControl.DocumentServer.PDF.AcroForms.FormField formField = new();
formField.FieldName = "CustomerName";

Members

Constructors

ConstructorDescription
FormFieldInitializes a new instance of the FormField class.

Properties

PropertyDescription
AlternateFieldNameGets or sets the alternate field name of the field.
BoundsGets or sets the rectangle bounds of the form field in the document.
FieldNameGets or sets the name of the field.
FieldTypeGets or sets the type of the field.

Further Reading

  • Extract Text and Data from PDF Documents in C# –