SaveCADtoJpeg

  Functions >

SaveCADtoJpeg

Previous pageReturn to chapter overviewNext page

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

 

Syntax:

 

int SaveCADtoJpeg(

  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 name of the output JPEG file.

 

 

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

CreatCAD  | SaveCADtoBitmap  | SaveCADtoPNG


© 2003-2021 CADSoftTools

Go to CAD DLL