C1.Win.Input.Base Namespace / C1TextBoxBase Class / GetLineFromCharIndex Method
The character index position to search.

In This Topic
GetLineFromCharIndex Method (C1TextBoxBase)
In This Topic
Retrieves the line number from the specified character position within the text of the control.
Syntax
'Declaration
 
Public Function GetLineFromCharIndex( _
   ByVal index As Integer _
) As Integer
 

Parameters

index
The character index position to search.

Return Value

The zero-based line number in which the character index is located.
See Also