<< Click to display table of contents >> TSRichViewEdit.GetCaretPosInUnits |
Returns the caret coordinates relative to the top left corner of the page (CurrentPage).
function GetCaretPosInUnits(Units: TRVUnits;
var CaretPosX, CaretPosY: TRVLength) : Boolean;
Units define the measurement units for the output coordinates. Note: "pixels" unit assumes 96 dpi (used internally in ScaleRichView).
The returned values are counted in zoom = 100%.
The coordinates are returned in CaretPosX, CaretPosY.
Return value:
True if the caret position is successfully returned.
See also: