## Pen::set_DashCap method


Sets a value that specifies the cap used at the both ends of a dashed line.

```cpp
void System::Drawing::Pen::set_DashCap(Drawing2D::DashCap value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | Drawing2D::DashCap | The value to set |

## See Also

* Enum [DashCap](../../../system.drawing.drawing2d/dashcap/)
* Class [Pen](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
