rvico TRichView Reference | TCustomRVFormattedData

TCustomRVFormattedData.GetOriginEx

Top  Previous  Next

Returns coordinates of the given subdocument relative to the main document.

procedure GetOriginEx(var ALeft, ATop: Integer);

Output parameters

ALeft, ATop – coordinates of the top left corner of this RVData relative to the top left corner of the main document.

 

Coordinates of the given item relative to the main document are calculated as a sum of values returned by RVData.GetItemCoords  and RVData.GetOriginEx.

 

This method does not take cell rotation into account, the coordinates are returned as if none of cells are rotated.


TRichView © trichview.com