GetCharIndexFromPosition Method
Retrieves the index of the character nearest to the specified location.
public virtual int GetCharIndexFromPosition(
Point
)
'Declaration
Public Overridable Function GetCharIndexFromPosition( _
ByVal As Point _
) As Integer
'Usage
Dim instance As GcTextBox
Dim point As Point
Dim value As Integer
value = instance.GetCharIndexFromPosition(point)
Parameters
- point
- The location to search
Return Value
The zero-based character index at the specified location