## Pen::set_DashStyle method


Sets a value that specifies the dash style of the current [Pen](../) object.

```cpp
void System::Drawing::Pen::set_DashStyle(Drawing2D::DashStyle value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | Drawing2D::DashStyle | The value to set |

## See Also

* Enum [DashStyle](../../../system.drawing.drawing2d/dashstyle/)
* Class [Pen](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
