## Translate(*float, float, [WebMatrixOrder](../../webmatrixorder/)*) {#translate_1}

Translates the matrix by the specified offset values in the specified order.

```csharp
public void Translate(float offsetX, float offsetY, WebMatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| offsetX | Single | The offset value along the x-axis. |
| offsetY | Single | The offset value along the y-axis. |
| order | WebMatrixOrder | The order in which translation is applied. |

### See Also

* enum [WebMatrixOrder](../../webmatrixorder/)
* interface [IMatrix](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)

---

## Translate(*float, float*) {#translate}

Translates the matrix by the specified offset values.

```csharp
public void Translate(float offsetX, float offsetY)
```

| Parameter | Type | Description |
| --- | --- | --- |
| offsetX | Single | The offset value along the x-axis. |
| offsetY | Single | The offset value along the y-axis. |

### See Also

* interface [IMatrix](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
