TCustomRVData.GetOriginEx

<< Click to display table of contents >>

TCustomRVData.GetOriginEx

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

procedure GetOriginEx(out 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.