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; }Public ReadOnly Property Page() As IntegerThe 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());
}TextControl1.Text = "Line 1" + vbCrLf + "Line 2" + vbCrLf + "Line 3"
For Each line As TXTextControl.Line In TextControl1.Lines
Console.WriteLine("Line " + line.Number.ToString() +
" is on page " + line.Page.ToString())
NextRead only.