## Pen.StartCap property

Gets or sets the cap style used at the beginning of lines drawn with this [`Pen`](../).

```csharp
public LineCap StartCap { get; set; }
```

### Property Value

One of the [`LineCap`](../../linecap/) values that represents the cap style used at the beginning of lines drawn with this [`Pen`](../).

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentException | The `StartCap` property is set on an immutable [`Pen`](../), such as those returned by the [`Pen`](../) class. |

### See Also

* enum [LineCap](../../linecap/)
* class [Pen](../)
* namespace [Aspose.Imaging](../../pen/)
* assembly [Aspose.Imaging](../../../)


