Page Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
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 IntegerExamples
The following example examines or changes the insertion point in a short document by using InputPosition.Page.
textControl.Text = "Project summary";
InputPosition inputPosition = textControl.InputPosition;
Console.WriteLine($"Page: {inputPosition.Page}");
Console.WriteLine("Input Position is ready for use.");textControl.Text = "Project summary"
Dim inputPosition As InputPosition = textControl.InputPosition
Console.WriteLine($"Page: {inputPosition.Page}")
Console.WriteLine("Input Position is ready for use.")Limitations
Read only.