---
title: "MaskTransform.ApplyMaskTransform Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_MaskTransform_ApplyMaskTransform_2_5c3e6481.htm
product: "Graphics Mill"
---

# MaskTransform.ApplyMaskTransform Method 
 
Transforms given bitmap using specified mask.
 
**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 Bitmap ApplyMaskTransform(Bitmap source,Bitmap mask
)
```
 
### Parameters
 
 - source
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
A [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) to transfrom.

 - mask
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
A [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) containing a mask for transformation.
 
### Return Value
A bitmap containing the result of the transformation.
   
## See Also

### Reference

- [MaskTransform Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_MaskTransform.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
