---
title: "TransformsProvider..::.ApplyMatrixTransform Method (Matrix, Color, InterpolationMode)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_ApplyMatrixTransform_3_dbff41c3.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# TransformsProvider.ApplyMatrixTransform Method (Matrix, Color, InterpolationMode)
 
Applies a linear transformation of the bitmap (based on specified matrix).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub ApplyMatrixTransform ( _transform As Matrix, _backgroundColor As Color, _interpolationMode As InterpolationMode _
)
```
 
```csharp
public void ApplyMatrixTransform(Matrix transform,Color backgroundColor,InterpolationMode interpolationMode
)
```
 
### Parameters
 
 - transform
     - Type: [Aurigma.GraphicsMill.Transforms.Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
 [Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) class instance which specifies a matrix of the linear transformation.

 - backgroundColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
Value which specifies the background color for the transformed image.

 - interpolationMode
     - Type: [Aurigma.GraphicsMill.Transforms.InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md)
 [InterpolationMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_InterpolationMode.htm.md) value which specifies interpolation algorithm used during transformation.
 
## Remarks
 You can also use [ApplyMatrixTransform](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_ApplyMatrixTransform.htm.md) class to apply this effect.
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [ApplyMatrixTransform Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_TransformsProvider_ApplyMatrixTransform.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
