---
title: "AddNoise Constructor (array&lt;Boolean&gt;[]()[], Single)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_AddNoise_ctor_2_573c955f.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/)

# AddNoise Constructor (Boolean[], Single)
 
Creates new [AddNoise](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_AddNoise.htm.md) class instance. You can specify what channels to modify and set noise amount parameter.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _channels As Boolean(), _amount As Single _
)
```
 
```csharp
public AddNoise(bool[] channels,float amount
)
```
 
### Parameters
 
 - channels
     - Type:  [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) []
Array of flags specifying what channels to apply effect at. If array item is **true**, transform will be applied at channel with appropriate index. Otherwise this channel is skipped. You can change to this array later through the property [Channels](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_PerChannelBitmapTransform_Channels.htm.md).

 - amount
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Noise amount value varying in range [-1, 1]. You can change this value later through property [Amount](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_AddNoise_Amount.htm.md).
   
## See Also

### Reference

- [AddNoise Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_AddNoise.htm.md)
- [AddNoise Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_AddNoise_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
