---
title: "Pen.LineJoin"
url: "https://reference.aspose.com/psd/net/aspose.psd/pen/linejoin/"
product: "Aspose.PSD for .NET API Reference"
description: "Pen property. Gets or sets the join style for the ends of two consecutive lines drawn with this Pen"
---

{{< psd/tize >}}
## Pen.LineJoin property

Gets or sets the join style for the ends of two consecutive lines drawn with this [`Pen`](../).

```csharp
public LineJoin LineJoin { get; set; }
```

### Property Value

A `LineJoin` that represents the join style for the ends of two consecutive lines drawn with this [`Pen`](../).

### Exceptions

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

### See Also

* enum [LineJoin](../../linejoin/)
* class [Pen](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


