API Reference > OdDg Classes > OdDgDatabase Class > OdDgDatabase Methods > writeFile Method > OdDgDatabase::writeFile Method (OdStreamBufPtr&, bool)
OdDgDatabase::writeFile Method (OdStreamBufPtr&, bool)
Syntax
C++
void writeFile(OdStreamBufPtr& pStream, bool bSaveThumbnailImage = true);
Parameters 
Description 
OdStreamBufPtr& pStream 
[out] Pointer to the memory stream to which the data are to be written. 

Writes the contents of this database object to the memory stream. 

 

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