## Rectangle::IntersectsWith method


Determines if the rectangles represented by the current and specified objects intesect.

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


| Parameter | Type | Description |
| --- | --- | --- |
| rect | const Rectangle\& | The rectangle to check |

### ReturnValue

True if the rectangles represented by the current object and **rect** intersect, otherwise - false

## See Also

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