TX Text Control .NET for WPF

Forms Class

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

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.