Unicode Controls & Classes for VB6 - Version 4

ctlUniRichTextBoxXP.GetPosFromChar Method

Returns the (X,Y) position from the specified char index

Syntax
Public Sub GetPosFromChar (ByVal lIndex As Long, _
ByRef xPixels As Long, _
ByRef yPixels As Long)
Parameters
Parameter Description
ByVal lIndex As Long The character index
ByRef xPixels As Long (OUT) The X coordinate
ByRef yPixels As Long (OUT) The Y coordinate
Remarks