The SaveCADtoCAD function saves currently imported drawing to the CAD file.
Syntax:
int SaveCADtoCAD(
HANDLE hObject,
LPCADEXPORTPARAMS ceParams,
LPCSTR FileName
);
Parameters:
hObject |
Identifies the CADImage object handle. |
ceParams |
Points to the CADEXPORTPARAMS structure that contains export parameters. |
FileName |
Points to a null-terminated string that contains the CAD file name to which currently displayed layout will be saved. |
Return Value:
If the function succeeds, the return value is 1.
If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.
If the function returns -1, a specified output file format is not supported.
Note:
This function is obsolete. We recommend you to use the SaveCADtoFileWithXMLParams function for export.
See Also
CADCreate | SaveCADtoFile | SaveCADtoFileWithXMLParams
© 2003-2024 CADSoftTools
Go to CAD DLL