The SetRotateCAD function rotates the image at a given angle (in degrees) around one of the axes (OX, OY or OZ).
Syntax:
int SetRotateCAD(
HANDLE hObject,
float AAngle,
int AAxis
);
Parameters:
hObject |
Identifies the CADImage object handle. |
||||||||
AAngle |
Specifies the rotation angle |
||||||||
Aaxis |
Specifies the coordinate axis around which the image is rotated:
|
Return Value:
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Function returns ‘2’, if the currently displayed image can’t be rotated (layouts of DWG/DXF)
See Also
© 2003-2024 CADSoftTools
Go to CAD DLL