## Pen.Brush property

Gets or sets the `Brush` that determines attributes of this [`Pen`](../).

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

### Property Value

A `Brush` that determines attributes of this [`Pen`](../).

### Exceptions

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

### See Also

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


