API Reference > OdDb Classes > OdDbScale Class > OdDbScale Methods > OdDbScale::setScaleName Method
OdDbScale::setScaleName Method
Syntax
C++
void setScaleName(const OdString& sName);
Parameters 
Description 
const OdString& sName 
[in] Scale name as non-empty string. 

Sets the internal scale name as a String value. This name is used as a comment for the ratio of paper units to drawing units when the scale object is displayed in a list. The initial value is an empty string by default. 

 

Example of Working with the Scale Object 

Working with Scales 

OdDbScale::scaleName() method

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