Gets the text position of the current text input position. The first text position of a document is zero.


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


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

int currTextPosition = textControl1.InputPosition.TextPosition;
Dim currTextPosition As Integer = TextControl1.InputPosition.TextPosition


Read only.