Limitations
Read only.
Gets the number of the page to which the line belongs. The first page has the number 1.
Introduced: 14.0.
public int Page { get; }
The following example uses Page property to get the number of the page to which the line belongs.
textControl1.Text = "Line 1\nLine 2\nLine 3";
foreach (TXTextControl.Line line in textControl1.Lines)
{
Console.WriteLine("Line " + line.Number.ToString()
+ " is on page " + line.Page.ToString());
}
Read only.