GetLineIndexFromCharacterIndex Method
In This Topic
Returns the zero-based line index for the line that contains the specified character index.
Syntax
'Declaration
Public Function GetLineIndexFromCharacterIndex( _
ByVal As Integer _
) As Integer
'Usage
Dim instance As GcTextBox
Dim charIndex As Integer
Dim value As Integer
value = instance.GetLineIndexFromCharacterIndex(charIndex)
public int GetLineIndexFromCharacterIndex(
int
)
Parameters
- charIndex
- The zero-based character index for which to retrieve the associated line index.
Return Value
The zero-based index for the line that contains the specified character index.
Exceptions
See Also