---
title: "MatrixTransform.Apply Method (Bitmap, Matrix)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_MatrixTransform_Apply_2_ce43cd16.htm
product: "Graphics Mill"
---

# MatrixTransform.Apply Method (Bitmap, Matrix)
 
Produces a transformed copy of a given bitmap. The source bitmap remains unchanged.
 
**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 Bitmap Apply(Bitmap source,Matrix matrix
)
```
 
### Parameters
 
 - source
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
An [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) to transform.

 - matrix
     - Type: [Aurigma.GraphicsMill.Transforms.Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
A transformation [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md).
 
### Return Value
A new [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) containing the result of this transformation.
   
## See Also

### Reference

- [MatrixTransform Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_MatrixTransform.htm.md)
- [Apply Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_MatrixTransform_Apply.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
