API Reference > OdDb Classes > OdDbAnnotationScale Class > OdDbAnnotationScale Methods > OdDbAnnotationScale::setDrawingUnits Method
OdDbAnnotationScale::setDrawingUnits Method
Syntax
C++
virtual OdResult setDrawingUnits(double dDrawingUnits);
Parameters 
Description 
double dDrawingUnits 
[in] The drawing units value for the annotation scale must be greater than zero. 

Sets the drawing units value of the annotation scale. 

 

An annotation scale is the ratio of paper units to drawing units. If an annotation scale is 1 mm to 1 meter, the drawing units value is 100.0.

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