Share

saveAs Method

Overload List

Method Description
AcDbDatabase::saveAs (AcDwgFileHandle *, SecurityParams*, bool) Runs the save process on the database and writes the drawing information out to pOutputFiler. If the database executing the saveAs() function is not the current database in the AutoCAD editor, then the thumbnail preview image is not saved.To specify security parameters, set pSecParams to point to a SecurityParams struct that conveys your preferences. If pSecParams is non-NULL, its settings override any previous database security settings. If pSecParams is NULL, any currently enforced security settings remain in effect. If no previous security-related settings were specified, and pSecParams is NULL, no security-related operation is attempted. If the SecurityParams struct... more
AcDbDatabase::saveAs (ACHAR*, bool, AcDb::AcDbDwgVersion, SecurityParams*) Runs the save process on the database and writes the drawing information out to fileName. The fileName argument is taken as is. If no file extension is present, .dwg is not appended.If the database executing the saveAs() function is not the current database in the AutoCAD editor, then the thumbnail preview image is not saved to fileName.To specify security parameters, set pSecurity to point to a SecurityParams struct that conveys your preferences. If pSecurity is non-NULL, its settings override any previous database security settings. If pSecurity is NULL, any currently enforced security settings remain in effect.... more
AcDbDatabase::saveAs (ACHAR*, SecurityParams*) Runs the save process on the database and writes the drawing information out to fileName. The fileName argument is taken as is. If no file extension is present, .dwg is not appended.To specify security parameters, set pSecurity to point to a SecurityParams struct that conveys your preferences. If pSecurity is non-NULL, its settings override any previous database security settings. If pSecurity is NULL, any currently enforced security settings remain in effect. If no previous security-related settings were specified, and pSecurity is NULL, no security-related operation is attempted. If the SecurityParams struct passed as the pSecurity argument is not... more

Was this information helpful?