TCnTextBoxBase.GetCharIndexFromPosition(_Point) Method

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

Namespace: CNClrLib.Control.TextBoxBase
public
 function GetCharIndexFromPosition(APoint: _Point): Integer; overload;

Parameters

APoint
Type: System.Void

The location to search.

Return Value

Type: Integer

The zero-based character index at the specified location.