API Reference > Classes > PRC Files, Structures and Assemblies > OdPrcFile Class > OdPrcFile Methods > OdPrcFile::setVersions Method
OdPrcFile::setVersions Method
Syntax
C++
OdResult setVersions(OdUInt32 minimal_version_for_read, OdUInt32 authoring_version);
Parameters 
Description 
OdUInt32 minimal_version_for_read 
[in] A new minimum version for reading to be set.  
OdUInt32 authoring_version 
[in] A new authoring version to be set.
 

Returns eOk if new values were successfully set or an appropriate error code in the other case.

Sets a new value of the minimum read version and the authoring version. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.