API Reference > OdDb Classes > OdDbDimensionRecomputePE Class > OdDbDimensionRecomputePE Methods > OdDbDimensionRecomputePE::formatMeasurement Method
OdDbDimensionRecomputePE::formatMeasurement Method
Syntax
C++
virtual void formatMeasurement(OdDbDimension* pDimension, OdString& formattedMeasurement, double measurementValue, const OdString& dimensionText) = 0;
Parameters 
Description 
OdDbDimension* pDimension 
[in] Pointer to the dimension entity.  
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.