TX Text Control .NET for WPF

TextParts Property

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

Description

Gets a collection of all main text parts the current document contains. The property's value is an object of the type TextPartCollection. The main text parts are the main text, text frames and headers and footers.

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.