DrawCAD

  Functions >

DrawCAD

Previous pageReturn to chapter overviewNext page

The DrawCAD function draws the CADImage object on the specified device context.

 

Syntax:

 

int DrawCAD(

  HANDLE hObject,

  HDC hDC,

  LPRECT lprc

);

 

 

Parameters:

 

hObject

Identifies the CADImage object handle.

hDC

Identifies the device context.

lprc

Points to the RECT structure that contains logical coordinates of the drawing rectangle.

 

             

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

CADCreate  | DrawCADEx  | DrawCADWithParams


© 2003-2024 CADSoftTools

Go to CAD DLL