API Reference > OdDg Classes > OdDgUnitsFormatter Class > OdDgUnitsFormatter Methods > OdDgUnitsFormatter::formatColor Method
OdDgUnitsFormatter::formatColor Method
Syntax
C++
static OdString formatColor(const OdDgCmColor& value);
Parameters 
Description 
const OdDgCmColor& value 
[in] Value to format. 

Returns the specified color value or OdDgColor object as a string.

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