API Reference > OdDb Classes > OdDbDimension Class > OdDbDimension Methods > OdDbDimension::formatMeasurement Method
OdDbDimension::formatMeasurement Method
Syntax
C++
void formatMeasurement(OdString& formattedMeasurement, double measurementValue, const OdString& dimensionText);
Parameters 
Description 
OdString& formattedMeasurement 
[out] Receives the formatted measurement.  
double measurementValue 
[in] Measurement value to be formatted.  
const OdString& dimensionText 
[in] Dimension text for formatting 

Returns the formatted measurement value. 

 

measurementValue is formatted per the specified dimension text and the effective dimension style.

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