The DrawCADtoDIB function converts CADImage object to the DIB format.
Syntax:
HGLOBAL DrawCADtoDIB(
HANDLE Handle,
LPRECT R
);
Parameters:
hObject  | 
Identifies the CADImage object handle.  | 
R  | 
Is used for internal purposes.  | 
Return Value:
If the function succeeds, the return value is the DIB object handle.
If the function fails, the return value is NULL.
Note:
After execution of this function, it is necessary to free memory, using GlobalFree.
See Also
CADCreate | DrawCADtoBitmap | DrawCADtoGif | DrawCADtoJpeg
© 2003-2025 CADSoftTools
Go to CAD DLL