The SaveCADtoGif function saves currently displayed layout to the GIF file format with sizes predefined in R member of the CADDRAW structure.
Syntax:
int SaveCADtoGif(
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 GIF 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
CADCreate | SaveCADtoBitmap | SaveCADtoJpeg | SaveCADtoPNG
© 2003-2024 CADSoftTools
Go to CAD DLL