Gets a collection of all text frames contained in the main text of the document. The property value is an object of the type TextFrameCollection.

Introduced: 12.0.

Syntax

public TextFrameCollection TextFrames { get; }
Public ReadOnly Property TextFrames() As TextFrameCollection

Examples

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

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
//..
TXTextControl.TextFrameCollection myMainTextTexytFrameColl = mainText.TextFrames;
//...
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextTexytFrameColl As TXTextControl.TextFrameCollection = mainText.TextFrames
'...

Limitations

Read only.