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

Introduced: X13.

Syntax

public SubTextPartCollection SubTextParts { get; }
Public ReadOnly Property SubTextParts() As SubTextPartCollection

Examples

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

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
//...
TXTextControl.SubTextPartCollection myMainTextSubTextPartColl = mainText.SubTextParts;
//...
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextSubTextPartColl As TXTextControl.SubTextPartCollection = mainText.SubTextParts
'...

Limitations

Read only.