PageInSection 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 in the section containing 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 PageInSection { get; }Public ReadOnly Property PageInSection As IntegerExamples
The following example examines or changes the insertion point in a short document by using InputPosition.PageInSection.
textControl.Text = "Project summary";
InputPosition inputPosition = textControl.InputPosition;
Console.WriteLine($"Page In Section: {inputPosition.PageInSection}");
Console.WriteLine("Input Position is ready for use.");textControl.Text = "Project summary"
Dim inputPosition As InputPosition = textControl.InputPosition
Console.WriteLine($"Page In Section: {inputPosition.PageInSection}")
Console.WriteLine("Input Position is ready for use.")Limitations
Read only.