API Reference > OdDg Classes > OdDgDatabase Class > OdDgDatabase Methods > OdDgDatabase::writeToStream Method
OdDgDatabase::writeToStream Method
Syntax
C++
void writeToStream(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–2020. Open Design Alliance. All rights reserved.