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


用当前对象表示的矩形与指定对象表示的矩形相交得到的矩形替换当前对象表示的矩形。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| rect | const RectangleF\& | [RectangleF](../) 对象，表示要与当前对象表示的矩形相交的矩形。 |

## 另见

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


返回指定矩形相交的结果矩形。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| 一个 | const RectangleF\& | 第一个要相交的矩形 |
| b | const RectangleF\& | 第二个要相交的矩形 |

### ReturnValue

**a** 与 **b** 相交的结果

## 另见

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