---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.generation/cmykcolor/equals/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. Compares if values of colors are the same in C++."
---

## CMYKColor::Equals method


Compares if values of colors are the same

```cpp
bool Aspose::BarCode::Generation::CMYKColor::Equals(System::SharedPtr<System::Object> obj) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | [CMYKColor](../) to compare |

### ReturnValue

Are values the same

## See Also

* Class [CMYKColor](../)
* Namespace [Aspose::BarCode::Generation](../../)
* Library [Aspose.BarCode for C++](../../../)
