## Aspose::Page::Drawing::operator==(const Aspose::Page::Drawing::Color\&, const Aspose::Page::Drawing::Color\&) method


测试两个指定的 [T:Aspose::Page::Drawing::Color](../) 结构是否等价。

```cpp
bool Aspose::Page::Drawing::operator==(const Aspose::Page::Drawing::Color &left, const Aspose::Page::Drawing::Color &right)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| left | const Aspose::Page::Drawing::Color\& | 位于等号运算符左侧的 [T:Aspose::Page::Drawing::Color](../) 。 |
| right | const Aspose::Page::Drawing::Color\& | 位于等号运算符右侧的 [T:Aspose::Page::Drawing::Color](../) 。 |

### ReturnValue

如果两个 [T:Aspose::Page::Drawing::Color](../) 结构相等，则返回 true；否则返回 false。
## 备注



<filterpriority>3</filterpriority>
## 另见

* Class [Color](../color/)
* Namespace [Aspose::Page::Drawing](../)
* Library [Aspose.Page for C++](../../)
## Aspose::Page::Drawing::operator==(const Aspose::Page::Drawing::Size\&, const Aspose::Page::Drawing::Size\&) method


测试两个 [T:Aspose::Page::Drawing::Size](../) 结构是否相等。

```cpp
bool Aspose::Page::Drawing::operator==(const Aspose::Page::Drawing::Size &left, const Aspose::Page::Drawing::Size &right)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| left | const Aspose::Page::Drawing::Size\& | 等号运算符左侧的 [T:Aspose::Page::Drawing::Size](../) 结构。 |
| right | const Aspose::Page::Drawing::Size\& | 等号运算符右侧的 [T:Aspose::Page::Drawing::Size](../) 结构。 |

### ReturnValue

如果 *left* 和 *right* 的宽度和高度相等，则返回 true；否则返回 false。
## 备注



<filterpriority>3</filterpriority>
## 另见

* Class [Size](../size/)
* Namespace [Aspose::Page::Drawing](../)
* Library [Aspose.Page for C++](../../)
 for C++](../../)
