TX Text Control .NET for Windows Forms

GetFieldNames Method

Method|Introduced in 15.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Get field names.

Syntax

public string[] GetFieldNames();

Return Value

Returns a list of the names of the application fields in the loaded document.

Examples

The following example retrieves field names from the document controller.

string[] results = documentController.GetFieldNames();
foreach (string text in results)
{
    Console.WriteLine(text);
}