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

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

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