TX Text Control .NET for WPF

FieldName Property

Property|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the name of the field.

Syntax

public string FieldName { get; set; }

Examples

The following example uses FormField.FieldName to configure field name as part of the form field workflow. The configured value is checked before the workflow continues.

formField.FieldName = "CustomerName";
if (!string.IsNullOrWhiteSpace(formField.FieldName))
{
    Console.WriteLine($"Field Name: {formField.FieldName}");
}