---
title: "DgnPolyLineElement"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.dgn.dgnelements/dgnpolylineelement/"
product: "Aspose.CAD for Java"
description: "Represents poly-line"
---


**Inheritance:** java.lang.Object, DgnLineElement

Represents poly-line

## Constructors

| Constructor | Description |
| --- | --- |
| [DgnPolyLineElement(byte[] rawData, boolean is3DElementExpected)](#DgnPolyLineElement-byte:A-boolean) | Initializes a new instance of the DgnPolyLineElement class |

### DgnPolyLineElement(byte[] rawData, boolean is3DElementExpected) {#DgnPolyLineElement-byte:A-boolean}
```java
public DgnPolyLineElement(byte[] rawData, boolean is3DElementExpected)
```

Initializes a new instance of the DgnPolyLineElement class

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| rawData | byte[] | raw data |
| is3DElementExpected | boolean | is 3D |

