[]
        
(Showing Draft Content)

C1.Win.Input.Base.ITextBoxBase.GetCharIndexFromPosition

GetCharIndexFromPosition Method

GetCharIndexFromPosition(Point)

Retrieves the index of the character nearest to the specified location.

Declaration
int GetCharIndexFromPosition(Point pt)
Parameters
Type Name Description
Point pt

The location to search.

Returns
Type Description
int

The zero-based character index at the specified location.