## PenAlignment enum


Specifies the alignment of a [Pen](../../system.drawing/pen/) object relative to an abstract reference 0-width line.

```cpp
enum class PenAlignment
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Center | 0 | The [Pen](../../system.drawing/pen/) is positioned at the center of the reference line. |
| Inset | 1 | The [Pen](../../system.drawing/pen/) is positioned on the inside of the reference line. |
| Outset | 2 | The [Pen](../../system.drawing/pen/) is positioned on the outside of the reference line. |
| Left | 3 | The [Pen](../../system.drawing/pen/) is positioned to the left of the reference line. |
| Right | 4 | The [Pen](../../system.drawing/pen/) is positioned to the right of the reference line. |

## See Also

* Namespace [System::Drawing::Drawing2D](../)
* Library [Aspose.PDF for C++](../../)
