## Pen::set_DashCap method


设置一个指定虚线两端使用的端帽的值。

```cpp
void System::Drawing::Pen::set_DashCap(Drawing2D::DashCap value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | Drawing2D::DashCap | 要设置的值 |

## 另见

* Enum [DashCap](../../../system.drawing.drawing2d/dashcap/)
* Class [Pen](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
