API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > save Method > OdDbDatabase::save Method (OdStreamBuf*, bool)
OdDbDatabase::save Method (OdStreamBuf*, bool)
Syntax
C++
void save(OdStreamBuf* pStreamBuf, bool saveThumbnailImage = false);
Parameters 
Description 
OdStreamBuf* pStreamBuf 
[in] Pointer to the StreamBuf object to which the data is to be written.  
bool saveThumbnailImage = false 
[in] Controls the saving of a thumbnail image to the file. 

Saves the database contents to the specified output stream buffer. Database contents are saved as a .dwg file of the latest supported version. 

 

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