GetCharIndexFromPosition Method (ITextBoxBase)
In This Topic
Retrieves the index of the character nearest to the specified location.
Syntax
'Declaration
Function GetCharIndexFromPosition( _
ByVal As Point _
) As Integer
int GetCharIndexFromPosition(
Point
)
Parameters
- pt
- The location to search.
Return Value
The zero-based character index at the specified location.
See Also