The DrawCADEx function draws CADImage object on the specified device context. The function implements the same features as DrawCAD with additional feature for drawing a CAD file.
Syntax:
int DrawCADEx(
HANDLE hObject,
LPCADDRAW lpcd
);
Parameters:
hObject |
Identifies the CADImage object handle. |
lpcd |
Points to the CADDRAW structure containing the device context, logical coordinates, drawing format etc. |
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
CADLTscale | CADunits | DrawCAD | DrawCADtoBitmap | DrawCADtoDIB | DrawCADtoGif | DrawCADtoJpeg
© 2003-2024 CADSoftTools
Go to CAD DLL