TextParts Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public ReadOnly Property TextParts As TextPartCollectionExamples
The following example iterates through the text parts collection and processes each object.
foreach (object item in textControl.TextParts)
{
Console.WriteLine(item);
}For Each item As Object In textControl.TextParts
Console.WriteLine(item)
NextLimitations
Runtime only.
Read only.