Reads the contents of the specified StreamBuf object or file into this database object.
Parameters
Parameters
Description
pStreamBuf
[in] Pointer to the StreamBuf object from which the data is to be read.
partialLoad
[in] Controls the partial loading of .dwg files.
pAuditInfo
[in] Pointer to an OdDbAuditInfo object.
password
[in] Password for file.
allowCPConversion
[in] If and only if true, allows code page conversion.
Remarks
Using this function in .tx code is not recommended. In .tx modules use OdDbHostAppServices::readFile() or OdDbHostAppServices::recoverFile() instead. This provides more control for host applications which can override these virtual methods.
The specified OdDbAuditInfo object controls the audit and receives the audit status.
If pAuditInfo is non-zero, a recover will be performed instead of a load.