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; }
Public ReadOnly Property TextFields() As TextFieldCollection

Examples

The following examples describes how to use the 'TXTextControl.MainText.TextFields' property by storing it in a variable of the type 'TXTextControl.TextFieldCollection'.

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
//...
TXTextControl.TextFieldCollection myMainTextTextFieldColl = mainText.TextFields;
//...
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextTextFieldColl As TXTextControl.TextFieldCollection = mainText.TextFields
'...

Limitations

Read only.