API Reference > FacetModeler Namespace > Classes > BinaryStream Class > BinaryStream Methods > Open Method > BinaryStream::Open Method (OdString&, Version)
BinaryStream::Open Method (OdString&, Version)
Syntax
C++
bool Open(const OdString& szFile, Version ver = vAuto);
Parameters 
Description 
const OdString& szFile 
[in] Filename string.  
Version ver = vAuto 
[in] File version to read.  

true if the file is opened successfully, or false otherwise.

Opens a file from the file system for reading in the specified format version. 

 

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