---
title: "ChannelsProvider..::.Channel Property (Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_ChannelsProvider_Channel_1_e1836fc4.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/)

# ChannelsProvider.Channel Property (Int32)
 
Extracts/replaces specified bitmap channel to/with grayscale [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Default Property Channel ( _channelIndex As Integer _
) As Bitmap
```
 
```csharp
public Bitmap this[int channelIndex
] { get; set; }
```
 
### Parameters
 
 - channelIndex
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Number of channel to work with.
 
### Property Value
 [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class instance specifying a bitmap channel. It always has the same dimensions as source bitmap and its pixel format is [Format8bppGrayScale](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormat.htm.md) (if source bitmap is not extended) or [Format16bppGrayScale](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormat.htm.md) (if source bitmap is extended).
   
## See Also

### Reference

- [ChannelsProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ChannelsProvider.htm.md)
- [Channel Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_ChannelsProvider_Channel.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
