API Reference > OdCm Classes > OdCmColor Class > OdCmColor Operators > != Operator > OdCmColor::!= Operator (OdCmColorBase&)
OdCmColor::!= Operator (OdCmColorBase&)
Syntax
C++
bool operator !=(const OdCmColorBase& color) const;
Parameters 
Description 
const OdCmColorBase& color 
[in] Color as OdCmColorBase.  

true if the objects are not equal, false - otherwise.

Compares two color objects as OdCmColor and OdCmColorBase their integer values together with their color names and returns true when their values are not equal, or false when their values are equal. For comparison the OdCmColorBase object is converted to OdCmColor. 

 

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