The GetCADCoords function gets coordinates of the point in the drawing and sets them in Coord.
Syntax:
int GetCADCoords(
HANDLE hObject,
float *AXScaled,
float *AYScaled,
LPFPOINT Coord
);
Parameters:
hObject  | 
Identifies the CADImage object handle.  | 
AXScaled  | 
Defines ratio in percents between the X coordinate of a desired point in the drawing and its width.  | 
AYScaled  | 
Defines ratio in percents between the Y coordinate of a desired point in the drawing and its height.  | 
Coord  | 
Contains the desired point in the drawing.  | 
Return Value:
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.
See Also
© 2003-2025 CADSoftTools
Go to CAD DLL