TX Text Control .NET Server

TextFields Property

Property|Introduced in 12.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Gets a collection of all standard text fields contained in the main text of the document. The property's value is an object of the type TextFieldCollection.

Syntax

public TextFieldCollection TextFields { get; }

Examples

The following example iterates through the text fields collection and processes each text field.

foreach (TextField textField in textControl.TextFields)
{
    textField.Text = "Quarterly results";
}

Limitations

Runtime only.

Read only.