---
title: "PsDocument.DrawPolyline"
url: "https://reference.aspose.com/page/net/aspose.page.eps/psdocument/drawpolyline/"
product: "Aspose.Page for .NET API Reference"
description: "PsDocument method. Draws a polyline"
---

## DrawPolyline(int[], int[], int) {#drawpolyline_1}

Draws a polyline.

```csharp
public void DrawPolyline(int[] xPoints, int[] yPoints, int nPoints)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xPoints | Int32[] | X coordinates of points. |
| yPoints | Int32[] | Y coordinate of points. |
| nPoints | Int32 | The number of points. |

### See Also

* class [PsDocument](../)
* namespace [Aspose.Page.EPS](../../psdocument/)
* assembly [Aspose.Page](../../../)

---

## DrawPolyline(double[], double[], int) {#drawpolyline}

Draws a polyline.

```csharp
public void DrawPolyline(double[] xPoints, double[] yPoints, int nPoints)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xPoints | Double[] | X coordinates of points. |
| yPoints | Double[] | Y coordinate of points. |
| nPoints | Int32 | The number of points. |

### See Also

* class [PsDocument](../)
* namespace [Aspose.Page.EPS](../../psdocument/)
* assembly [Aspose.Page](../../../)


