---
title: "Transform.GetPathTransformMatrix Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Transform_GetPathTransformMatrix_2_22dcb54d.htm
product: "Graphics Mill"
---

# Transform.GetPathTransformMatrix Method 
 
Gets the transform matrix from an image.
 
**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 virtual Matrix GetPathTransformMatrix(int srcWidth,int srcHeight
)
```
 
### Parameters
 
 - srcWidth
     - Type: System.Int32
The width of the source image.

 - srcHeight
     - Type: System.Int32
The height of the source image.
   
## See Also

### Reference

- [Transform Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Transform.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
