## Pen::set_DashStyle method


设置一个值，以指定当前 [Pen](../) 对象的虚线样式。

```cpp
void System::Drawing::Pen::set_DashStyle(Drawing2D::DashStyle value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | Drawing2D::DashStyle | 要设置的值 |

## 另见

* Enum [DashStyle](../../../system.drawing.drawing2d/dashstyle/)
* Class [Pen](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
