---
title: "Pen..::.EndCap Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Pen_EndCap.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.EndCap Property 
 
Gets/sets a value specifying what cap to use at the end of 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 EndCap As LineCap
```
 
```csharp
public LineCap EndCap { get; set; }
```
 
### Property Value
 [LineCap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_LineCap.htm.md) specifying a cap style of the line end.
 
## Remarks
 Default value is [Flat](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_LineCap.htm.md).
   
## 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)
