TX Text Control .NET for Windows Forms

EmbeddedDataFormat Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

Specifies the format of additionally provided data when a PDF document is imported. It is used with the LoadSettings.EmbeddedData property and contains the following values:

Syntax

[Flags]
public enum EmbeddedDataFormat

Members

ValueValueDescription
FormFields2Specifies an XML format with information about the position and the kind of all form fields contained in the PDF document.
MetaData4Specifies the PDF document's metadata.
TextCoordinates1Specifies an XML format where each line of text has attributes such as page number and geometrical position.

Examples

The following example selects the Text Coordinates value from the Embedded Data Format enumeration and uses it as a documented workflow choice.

EmbeddedDataFormat value = EmbeddedDataFormat.TextCoordinates;
Console.WriteLine($"Using Embedded Data Format: {value}");

See Also

LoadSettings.PDFImportSettings Property, LoadSettings.EmbeddedData Property.