API Reference > Classes > Database Classes > OdBmUnitUtils Class > OdBmUnitUtils Methods > OdBmUnitUtils::isScalePredefined Method
OdBmUnitUtils::isScalePredefined Method
Syntax
C++
static bool isScalePredefined(OdBm::UnitSystem::Enum unitSystem, OdInt32 scale);
Parameters 
Description 
OdBm::UnitSystem::Enum unitSystem 
[in] Unit system.  
OdInt32 scale 
[in] Scale value to check.  

True if scale is predifined in the given unit system, false - otherwise.

Checks if scale is predifined in the given unit system. 

 

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