---
title: "Pen..::.DashStyle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Pen_DashStyle.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Pen.DashStyle Property 
 
Gets/sets style used for dashed lines drawn with this pen.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Property DashStyle As DashStyle
```
 
```csharp
public DashStyle DashStyle { get; set; }
```
 
### Property Value
 [DashStyle](http://msdn2.microsoft.com/en-us/a3k7hz77) value representing dash style of the pen.
 
## Remarks
 Due GDI limitation you cannot use other dash style than [Solid](http://msdn2.microsoft.com/en-us/bb506298) when pen width differs from 1. 
Default value is [Solid](http://msdn2.microsoft.com/en-us/bb506298).
   
## See Also

### Reference

- [Pen Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Pen.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
