## Pen.Transform property

Gets or sets a copy of the geometric transformation for this [`Pen`](../).

```csharp
public Matrix Transform { get; set; }
```

### Property Value

A copy of the [`Matrix`](../../matrix/) that represents the geometric transformation for this [`Pen`](../).

### Exceptions

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

### See Also

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


