---
title: "Matrix.CreateTranslate Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateTranslate_2_427c5821.htm
product: "Graphics Mill"
---

# Matrix.CreateTranslate Method 
 
Returns the affine [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) of the translate transform.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public static Matrix CreateTranslate(float offsetX,float offsetY
)
```
 
### Parameters
 
 - offsetX
     - Type: System.Single
The value to move horizontally.

 - offsetY
     - Type: System.Single
The value to move vertically.
 
### Return Value
A [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) of the translate transform.
   
## See Also

### Reference

- [Matrix Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
- [Matrix.CreateRotate(Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateRotate_1_7a94462e.htm.md)
- [Matrix.CreateScale(Single, Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateScale_2_427c5821.htm.md)
