## Size::Equals method


确定当前对象和指定对象是否相等，即它们是否表示相同的一对宽度和 hegiht 值。

```cpp
bool System::Drawing::Size::Equals(const Size &size) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| size | const Size\& | 用于与当前对象比较的对象 |

### ReturnValue

如果对象相等则为 true，否则为 false

## 另见

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