Gets a collection of all images, textframes, charts, barcodes and drawings contained in the main text of the document. The property value is an object of the type FrameCollection. The collection can be used to get or to alter common attributes.

Introduced: X13.

Syntax

public FrameCollection Frames { get; }
Public ReadOnly Property Frames() As FrameCollection

Examples

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

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
//...
TXTextControl.FrameCollection myMainTextFramesColl = mainText.Frames;
//...
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextFramesColl As TXTextControl.FrameCollection = mainText.Frames
'...

Limitations

Read only.