SetRotateCAD

  Functions >

SetRotateCAD

Previous pageReturn to chapter overviewNext page

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:

Value

Meaning

0

OX Axis

1

OY Axis

2

OZ Axis

 

 

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

CADCreate  | RotToViewCAD


© 2003-2024 CADSoftTools

Go to CAD DLL