---
title: "TransformsProvider..::.Mosaic Method (Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_Mosaic_2_22dcb54d.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.Mosaic Method (Int32, Int32)
 
Applies mosaic effect.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub Mosaic ( _cellWidth As Integer, _cellHeight As Integer _
)
```
 
```csharp
public void Mosaic(int cellWidth,int cellHeight
)
```
 
### Parameters
 
 - cellWidth
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Mosaic cell width.

 - cellHeight
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Mosaic cell height.
 
## Remarks
 You can also use [Mosaic](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Mosaic.htm.md) class to apply this effect.
 
## Examples
  
```
bitmap.Transforms.Mosaic(10, 10)
```
 
```csharp
bitmap.Transforms.Mosaic(10, 10);
```
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [Mosaic Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_TransformsProvider_Mosaic.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
