Gets the section number of the current text input position. The first section in the document has the number 1.

Introduced: 14.0.

Syntax

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

Examples

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

int currSection = textControl1.InputPosition.Section;
Dim currSection As Integer = TextControl1.InputPosition.Section

Limitations

Read only.