## TranslateTransform(float, float) {#translatetransform}

Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics.

```csharp
public void TranslateTransform(float dx, float dy)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dx | Single | The x-coordinate of the translation. |
| dy | Single | The y-coordinate of the translation. |

### See Also

* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## TranslateTransform(float, float, MatrixOrder) {#translatetransform_1}

Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this Graphics in the specified order.

```csharp
public void TranslateTransform(float dx, float dy, MatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dx | Single | The x-coordinate of the translation. |
| dy | Single | The y-coordinate of the translation. |
| order | MatrixOrder | Member of the MatrixOrder enumeration that specifies whether the translation is prepended or appended to the transformation matrix. |

### See Also

* enum [MatrixOrder](../../../system.drawing.drawing2d/matrixorder/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)


