GetLineFromCharIndex Method (ITextBoxBase)
In This Topic
Retrieves the line number from the specified character position within the text of the control.
Syntax
'Declaration
Function GetLineFromCharIndex( _
ByVal As Integer _
) As Integer
int GetLineFromCharIndex(
int
)
Parameters
- index
- The character index position to search.
Return Value
The zero-based line number in which the character index is located.
See Also