API Reference > OdDb Classes > OdDbLeader Class > OdDbLeader Methods > OdDbLeader::setDimgap Method
OdDbLeader::setDimgap Method
Syntax
C++
virtual void setDimgap(double val);
Parameters 
Description 
double val 
[in] New value for DIMGAP. 

Sets the DIMGAP override for this object.

DIMGAP specifies the gap between dimension text and dimension lines. 

A negative value for DIMGAP draws a reference box round the dimension text. 

Text is placed inside a dimension line only if there will be two line segments each as long as abs(DIMGAP).

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