TX Text Control .NET for WPF

Pages 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 the number of pages contained in the current document.

Syntax

public int Pages { get; }

Examples

The following example includes the pages value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Pages: {textControl.Pages}");
Console.WriteLine("Text Control is ready for use.");

Limitations

Runtime only.

Read only.