API Reference > OdDb Classes > OdDbAnnotationScale Class > OdDbAnnotationScale Methods > OdDbAnnotationScale::setName Method
OdDbAnnotationScale::setName Method
Syntax
C++
virtual OdResult setName(const OdString& name);
Parameters 
Description 
const OdString& name 
[in] Name of the annotation scale object. 

Sets the name of the annotation scale object. 

 

Because the name of the application scale object can change, access the annotation scale object using its ID, which is unique and does not change.

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