## RectangleF::Equals method


确定当前对象和指定对象表示的矩形是否完全相同。

```cpp
bool System::Drawing::RectangleF::Equals(const RectangleF &rect) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| rect | const RectangleF\& | 用于与当前对象比较的 [RectangleF](../) 对象 |

### ReturnValue

如果当前对象和指定对象所表示的矩形相同，则为 true；否则为 false

## 另见

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