TX Text Control .NET for Windows Forms

Frames Property

Property|Introduced in 18.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all images, textframes, charts, barcodes and drawings contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type FrameCollection. The collection can be used to get or to alter attributes common to all frames.

Syntax

public FrameCollection Frames { get; }

Examples

The following example iterates through the frames collection and processes each frame base.

foreach (FrameBase frameBase in textControl.Frames)
{
    frameBase.DescriptiveText = "Quarterly results";
}

Limitations

Runtime only.

Read only.