Gets the page number of the current text input position. This property returns the page number only if the TextControl.ViewMode property has been set to ViewMode.PageView.

Syntax

public int Page { get; }
Public ReadOnly Property Page() As Integer

Examples

This example explains an easy use of the 'TXTextControl.InputPosition.Page' property. Here, the 'Page' number is stored in a variable of the type 'int'.

int currPage = textControl1.InputPosition.Page;
Dim currPage As Integer = TextControl1.InputPosition.Page

Limitations

Read only.