TX Text Control .NET for WPF

Page Property

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

Description

Gets the number of the page to which the line belongs. The first page has the number 1.

Syntax

public int Page { get; }

Examples

The following example examines the first line in a short document by using Line.Page.

textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Line line = textControl.Lines[1];

Console.WriteLine($"Page: {line.Page}");
Console.WriteLine("Line is ready for use.");

Limitations

Read only.