API Reference > OdDb Classes > OdDbScale Class > OdDbScale Methods > OdDbScale::setPaperUnits Method
OdDbScale::setPaperUnits Method
Syntax
C++
void setPaperUnits(double vUnits);
Parameters 
Description 
double vUnits 
[in] value of paper units. 

Sets the number of paper units as a positive Double value. The initial value is 1.0 by default. 

 

Example of Working with the Scale Object 

Working with Scales 

OdDbScale::paperUnits(), OdDbScale::setDrawingUnits(), OdDbScale::scale() methods

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