Version

GetCharIndexFromPoint Method

Gets the poistion of the character in the text at the specified client coordinates of the control.
Syntax
'Declaration
 
Function GetCharIndexFromPoint( _
   ByVal location As Point _
) As Integer
int GetCharIndexFromPoint( 
   Point location
)

Parameters

location
The client coordinates at which to get the character position.

Return Value

The index of the character in the text at the specified location.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also