## Region::Complement(const Rectangle\&) method


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة بواسطة المستطيل المحدد والذي لا يتقاطع مع هذه المنطقة.

```cpp
void System::Drawing::Region::Complement(const Rectangle &rect)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| rect | const Rectangle\& | مستطيل يحدد منطقة لإكمالها |

## انظر أيضًا

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


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة بواسطة المستطيل المحدد والذي لا يتقاطع مع هذه المنطقة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| rect | const RectangleF\& | مستطيل يحدد منطقة لإكمالها |

## انظر أيضًا

* Class [RectangleF](../../rectanglef/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Region::Complement(const SharedPtr\<Drawing2D::GraphicsPath\>\&) method


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة بواسطة المسار المحدد والذي لا يتقاطع مع هذه المنطقة.

```cpp
void System::Drawing::Region::Complement(const SharedPtr<Drawing2D::GraphicsPath> &path)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| المسار | const SharedPtr\<Drawing2D::GraphicsPath\>\& | مسار يحدد منطقة لإكمالها |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GraphicsPath](../../../system.drawing.drawing2d/graphicspath/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Region::Complement(const SharedPtr\<Region\>\&) method


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة والذي لا يتقاطع مع هذه المنطقة.

```cpp
void System::Drawing::Region::Complement(const SharedPtr<Region> &region)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| منطقة | const SharedPtr\<Region\>\& | منطقة لإكمالها |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Region](../)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
