API Reference > OdDb Classes > OdDbDimension Class > OdDbDimension Methods > OdDbDimension::setDimensionText Method
OdDbDimension::setDimensionText Method
Syntax
C++
void setDimensionText(const OdString& dimensionText);
Parameters 
Description 
const OdString& dimensionText 
[in] Dimension text. 

Sets the user-supplied dimension text for this Dimension Entity (DXF 1). 

 

  • If no text is to appear, supply ".".
  • If only the default text is to appear, supply an empty string "".
  • The default text is represented as "<>" within the supplied text.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.