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.


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


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


Read only.