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

Sets the paper 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 paper units value is 1.0.

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