API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > save Method > OdDbDatabase::save Method (OdString&, bool)
OdDbDatabase::save Method (OdString&, bool)
Syntax
C++
void save(const OdString& filename, bool saveThumbnailImage = false);
Parameters 
Description 
const OdString& filename 
[in] Target file absolute path.  
bool saveThumbnailImage = false 
[in] Controls the saving of a thumbnail image to the file. 

Saves the database contents to the specified output .dwg file. Output file has the latest supported version format. Database contents are saved as a .dwg file of the latest supported version. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.