SaveCADtoBitmap

  Functions >

SaveCADtoBitmap

Previous pageReturn to chapter overviewNext page

The SaveCADtoBitmap function saves currently displayed layout to the BMP file format with sizes predefined in R member of the CADDRAW structure.

 

Syntax:

 

int SaveCADtoBitmap(

  HANDLE hObject,

  LPCADDRAW lpcd,

  LPCSTR lpFileName

);

 

 

Parameters:

 

hObject

Identifies the CADImage object handle.

lpcd

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

lpFileName

Points to a null-terminated string that specifies the BMP file name to which currently displayed layout will be saved.

 

 

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  | SaveCADtoGif  | SaveCADtoJpeg  | SaveCADtoPNG


© 2003-2024 CADSoftTools

Go to CAD DLL