Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgHostAppServices::readFile Method
Syntax
C++
virtual OdDgDatabasePtr readFile(const OdString& fileName, Oda::FileShareMode shareMode = Oda::kShareDenyWrite, bool partialLoad = false);

Loads the contents of the specified DGN file file into the database with which this HostAppServices object is associated. 

 

Parameters
Description
fileName
[in] Name of the file 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.
pAuditInfo
[in] Pointer to an OdDgAuditInfo object.
password
[in] Password for file.

Returns a SmartPointer to the database containing the contents of the file.

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