{{< psd/tize >}}
## Pen.DashPattern property

Gets or sets an array of custom dashes and spaces.

```csharp
public float[] DashPattern { get; set; }
```

### Property Value

An array of real numbers that specifies the lengths of alternating dashes and spaces in dashed lines.

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentException | The `DashPattern` property is set on an immutable [`Pen`](../), such as those returned by the [`Pen`](../) class. |

### See Also

* class [Pen](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


