DrawCADtoBitmap

  Functions >

DrawCADtoBitmap

Previous pageReturn to chapter overviewNext page

The DrawCADtoBitmap function converts the CADImage object to the Windows Bitmap format.

 

Syntax:

 

HGLOBAL DrawCADtoBitmap (

  HANDLE hObject,

  LPCADDRAW lpcd

);

 

 

Parameters:

 

hObject

Identifies the CADImage object handle.

pcd

Points to the CADDRAW structure containing the device context, logical coordinates, drawing format etc.

 

 

Return Value:

If the function succeeds, the return value is Windows Bitmap 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  | DrawCADtoDIB  | DrawCADtoGif  | DrawCADtoJpeg


© 2003-2024 CADSoftTools

Go to CAD DLL