## Rectangle::Equals method


Determines if the rectangles represented by the current and the specified objects are identical.

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


| Parameter | Type | Description |
| --- | --- | --- |
| rect | const Rectangle\& | The [Rectangle](../) object to compare the current object with |

### ReturnValue

True if the rectangles represented by the current and the specified objects are identical, otherwise - false

## See Also

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