## Pen.Width property

Gets or sets the width of this [`Pen`](../), in units of the Graphics object used for drawing.

```csharp
public float Width { get; set; }
```

### Property Value

The width of this [`Pen`](../).

### Exceptions

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

### See Also

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


