Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgDatabase::readFromStream Method
Syntax
C++
void readFromStream(OdStreamBufPtr& pStream, Oda::FileShareMode shareMode = Oda::kShareDenyWrite, bool partialLoad = false);

Reads the contents of the memory stream into this database object. 

 

Parameters
Description
pStream
[in] Pointer to the memory stream from which the data are to be read.
shareMode
[in] Share mode to use when opening the specified file.
partialLoad
[in] Controls the partial loading of DGN files.

The specified OdDgAuditInfo object controls the audit, and receives the audit status. If pAuditInfo is non-zero, a recover will be performed instead of a load.

Copyright © 2002-2022. Open Design Alliance All rights reserved.