TX Text Control .NET for Windows Forms

TextFrames Property

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

Description

Gets a collection of all text frames the current document contains. The property's value is an object of the type TextFrameCollection. If a text frame contains further text frames, the inner frames are not contained in this collection.

Syntax

public TextFrameCollection TextFrames { get; }

Examples

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

foreach (TextFrame textFrame in textControl.TextFrames)
{
    textFrame.DescriptiveText = "Quarterly results";
}

Limitations

Runtime only.

Read only.