# RenderWindow.Channel class

Namespace: [Rhino.Render](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.render.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class RenderWindow.Channel : IDisposable
```

## Properties

- [Height](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/height.md): Return the channel height.
- [Id](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/id.md): Return the channel id.
- [Width](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/width.md): Return the channel width.

## Methods

- [AddValue](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/addvalue.md): Add value to existing values at point x, y. If x or y are out of range, the function will fail and may crash Rhino.
- [Clone](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/clone.md): Return a clone of the channel.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/dispose.md): (2 overloads)
- [GetMinMaxValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/getminmaxvalues.md): Get the minimum and maximum values in the channel. `min`The channel's minimum value. `max`The channel's maximum value.
- [GetValue](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/getvalue.md): Get values from the channel.
- [GetValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/getvalues.md): Get a rectangle of values from the channel. The input parameters are checked for validity. If the rectangle is not fully inside the frame buffer, the function will fail.
- [PixelSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/pixelsize.md): Returns the size of the data in one pixel in the channel. For RDK standard channels, this value is always sizeof(float). For the special chanRGBA collective channel, this value is 4 * sizeof(float).
- [SetValue](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/setvalue.md): (2 overloads) If x or y are out of range, the function will fail and may crash Rhino.
- [SetValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/setvalues.md): Set a pixel buffer
- [SetValuesFlipped](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow.channel/setvaluesflipped.md): Set a pixel buffer y-flipped.
