API Reference > Classes > Loader Classes > OdBmLoaderHostAppServices Class > OdBmLoaderHostAppServices Methods > OdBmLoaderHostAppServices::isFileVersionSupported Method
OdBmLoaderHostAppServices::isFileVersionSupported Method
Syntax
C++
static bool isFileVersionSupported(const OdString& fileName, bool bConvertible = true, OdString* errorDescription = NULL);
Parameters 
Description 
const OdString& fileName 
[in] Input name of the file for which the version is checked.  
bool bConvertible = true 
[in] If we test the file version for possibility to convert to the latest version or just read.  
OdString* errorDescription = NULL 
[out] Return description for the error if it possible 

Returns true if file is supported to opening. 

 

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