FormTextField Class
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.dll
- Inherits
- Form
Field - Form
Text Field
- Form
Description
The FormTextField class implements the Adobe PDF AcroForms form text field.
Syntax
public class FormTextField : FormFieldPublic Class FormTextField
Inherits FormFieldExamples
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";Dim formTextField As New TXTextControl.DocumentServer.PDF.AcroForms.FormTextField(New TXTextControl.DocumentServer.PDF.AcroForms.FormField())
formTextField.Value = "Quarterly report"Members
Constructors
| Constructor | Description |
|---|---|
| FormField | Initializes a new instance of the FormField class. (Inherited from AcroForms.FormField.) |
| FormTextField | Initializes a new instance of the FormTextField class. |
Properties
| Property | Description |
|---|---|
| AlternateFieldName | Gets or sets the alternate field name of the field. (Inherited from AcroForms.FormField.) |
| Bounds | Gets or sets the rectangle bounds of the form field in the document. (Inherited from AcroForms.FormField.) |
| FieldName | Gets or sets the name of the field. (Inherited from AcroForms.FormField.) |
| FieldType | Gets or sets the type of the field. (Inherited from AcroForms.FormField.) |
| Value | Gets or sets the value of the form text field. |