DrawCADtoJpeg

  Functions >

DrawCADtoJpeg

Previous pageReturn to chapter overviewNext page

The DrawCADtoJpeg function converts CADImage object to the JPEG format.

 

Syntax:

 

HGLOBAL DrawCADtoJpeg (

  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 JPEG 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  | DrawCADtoDIB  | DrawCADtoGif


© 2003-2024 CADSoftTools

Go to CAD DLL