---
title: "ChannelBalance Constructor (array&lt;Single&gt;[]()[])"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_ChannelBalance_ctor_1_30e34a30.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/)

# ChannelBalance Constructor (Single[])
 
Creates and initializes [ChannelBalance](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_ChannelBalance.htm.md) class instance.
 
**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 ( _levels As Single() _
)
```
 
```csharp
public ChannelBalance(float[] levels
)
```
 
### Parameters
 
 - levels
     - Type:  [System.Single](http://msdn2.microsoft.com/en-us/3www918f) []
Each entry of array is a value varying in range [-1, 1]. According to number bits per channel, these values are normalized either to 255 (for non-extended pixel formats) or 65535 (for extended pixel formats). Can be modified later through the property [Levels](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_ChannelBalance_Levels.htm.md).
   
## See Also

### Reference

- [ChannelBalance Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_ChannelBalance.htm.md)
- [ChannelBalance Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_ChannelBalance_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
