## Graphics::DrawLines(const SharedPtr\<Pen\>\&, const System::ArrayPtr\<System::Drawing::Point\>\&) method


Draws a series of line segments using the specified pen.

```cpp
void System::Drawing::Graphics::DrawLines(const SharedPtr<Pen> &pen, const System::ArrayPtr<System::Drawing::Point> &points)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | A pen to use when drawing the lines |
| points | const System::ArrayPtr\<System::Drawing::Point\>\& | [Array](../../../system/array/) of points to connect |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Point](../../point/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
## Graphics::DrawLines(const SharedPtr\<Pen\>\&, const System::ArrayPtr\<System::Drawing::PointF\>\&) method


Draws a series of line segments using the specified pen.

```cpp
void System::Drawing::Graphics::DrawLines(const SharedPtr<Pen> &pen, const System::ArrayPtr<System::Drawing::PointF> &points)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | A pen to use when drawing the lines |
| points | const System::ArrayPtr\<System::Drawing::PointF\>\& | [Array](../../../system/array/) of points to connect |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PointF](../../pointf/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
