TX Text Control .NET for Windows Forms

FormTextField Class

Class|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Inherits
  1. FormField
  2. FormTextField

Description

The FormTextField class implements the Adobe PDF AcroForms form text field.

Syntax

public class FormTextField : FormField

Examples

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

TXTextControl.DocumentServer.PDF.AcroForms.FormTextField formTextField = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormField());
formTextField.Value = "Quarterly report";

Members

Constructors

ConstructorDescription
FormFieldInitializes a new instance of the FormField class. (Inherited from AcroForms.FormField.)
FormTextFieldInitializes a new instance of the FormTextField class.

Properties

PropertyDescription
AlternateFieldNameGets or sets the alternate field name of the field. (Inherited from AcroForms.FormField.)
BoundsGets or sets the rectangle bounds of the form field in the document. (Inherited from AcroForms.FormField.)
FieldNameGets or sets the name of the field. (Inherited from AcroForms.FormField.)
FieldTypeGets or sets the type of the field. (Inherited from AcroForms.FormField.)
ValueGets or sets the value of the form text field.