## GraphicsPath::AddRectangles(const ArrayPtr\<Rectangle\>\&) method


Adds the specified series of rectangles to the path represented by the current object.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<Rectangle> &rects)
```


| Parameter | Type | Description |
| --- | --- | --- |
| rects | const ArrayPtr\<Rectangle\>\& | An array of [Rectangle](../../../system.drawing/rectangle/) objects representing the rectangles to add |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Rectangle](../../../system.drawing/rectangle/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PDF for C++](../../../)
## GraphicsPath::AddRectangles(const ArrayPtr\<RectangleF\>\&) method


Adds the specified series of rectangles to the path represented by the current object.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<RectangleF> &rects)
```


| Parameter | Type | Description |
| --- | --- | --- |
| rects | const ArrayPtr\<RectangleF\>\& | An array of [RectangleF](../../../system.drawing/rectanglef/) objects representing the rectangles to add |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [RectangleF](../../../system.drawing/rectanglef/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PDF for C++](../../../)
