## RectangleF::Intersect(const RectangleF\&) method


Replaces the rectangle represented by the current object with the rectangle that results from the its intersection with the rectangle represented by the specified object.

```cpp
void System::Drawing::RectangleF::Intersect(const RectangleF &rect)
```


| Parameter | Type | Description |
| --- | --- | --- |
| rect | const RectangleF\& | The [RectangleF](../) object that represents the rectangle to intersect the rectangle represented by the current object with |

## See Also

* Class [RectangleF](../)
* Class [RectangleF](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
## RectangleF::Intersect(const RectangleF\&, const RectangleF\&) method


Returns a rectangle that is a result of intersection of the specified rectangles.

```cpp
static RectangleF System::Drawing::RectangleF::Intersect(const RectangleF &a, const RectangleF &b)
```


| Parameter | Type | Description |
| --- | --- | --- |
| a | const RectangleF\& | The first rectangle to intersect |
| b | const RectangleF\& | The second rectangle to intersect |

### ReturnValue

The result of intersection of **a** with **b**

## See Also

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