TX Text Control .NET Server

Forms Class

Class|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF
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

Description

The Forms class implements PDF specific methods.

Syntax

public static class Forms

Examples

The following example uses Forms.GetAcroFormFields in a document-processing workflow.

TXTextControl.DocumentServer.PDF.AcroForms.FormField[] results = TXTextControl.DocumentServer.PDF.Forms.GetAcroFormFields("document.docx");
foreach (TXTextControl.DocumentServer.PDF.AcroForms.FormField formField in results)
{
    Console.WriteLine(formField);
}

Members

Methods

MethodDescription
GetAcroFormFieldsImports AcroFormFields from an Adobe PDF document.