API Reference > OdDb Classes > OdDbLeader Class > OdDbLeader Methods > OdDbLeader::dimscale Method
OdDbLeader::dimscale Method
Syntax
C++
virtual double dimscale() const;

Returns the DIMSCALE value of this object.

DIMSCALE is an scale factor applied to all dimension variables that regulate sizes, offsets, and distances. 

DIMSCALE serves as an overall "volume control" for dimensions and leaders. 

 

Value 
Description 
0.0 
A "reasonable" value is computed for model space viewports. 
> 0.0 
If set to the inverse of the plot scale, plotted dimensions will be at the sizes specified by the other dimension variables. 

 

The value from the dimension style of this object will be returned unless that value has been overridden, in which case, the override value will be returned.

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