RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.TransformCoords Method

Translates a set of coordinates.

Pascal
function TransformCoords(var ptlHimetric: TPoint; var ptfContainer: TPointF; flags: Longint): HResult; stdcall;
C++
__fastcall __stdcall HRESULT TransformCoords(TPoint ptlHimetric, TPointF ptfContainer, Longint flags);

Use TransformCoords to transform the OLE-style set of coordinates in the ptlHimetric record to a control-style set given by the ptfContainer record. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!