TX Text Control .NET for Windows Forms

TextParts Property

Property|Introduced in 16.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 parts the current document contains. The property's value is an object of the type TextPartCollection. A text part can be the main text, a text frame or a header or footer.

Syntax

public TextPartCollection TextParts { get; }

Examples

The following example iterates through the text parts collection and processes each object.

foreach (object item in textControl.TextParts)
{
    Console.WriteLine(item);
}

Limitations

Runtime only.

Read only.