---
title: "ImageAttributes.SetOutputChannel"
url: "https://reference.aspose.com/drawing/net/aspose.drawing.imaging/imageattributes/setoutputchannel/"
product: "Aspose.Drawing for .NET API Reference"
description: "ImageAttributes method. Sets the CMYK cyanmagentayellowblack output channel for the default category"
---

## SetOutputChannel(ColorChannelFlag) {#setoutputchannel}

Sets the CMYK (cyan-magenta-yellow-black) output channel for the default category.

```csharp
public void SetOutputChannel(ColorChannelFlag flags)
```

| Parameter | Type | Description |
| --- | --- | --- |
| flags | ColorChannelFlag | An element of ColorChannelFlag that specifies the output channel. |

### See Also

* enum [ColorChannelFlag](../../colorchannelflag/)
* class [ImageAttributes](../)
* namespace [Aspose.Drawing.Imaging](../../imageattributes/)
* assembly [Aspose.Drawing.Common](../../../)

---

## SetOutputChannel(ColorChannelFlag, ColorAdjustType) {#setoutputchannel_1}

Sets the CMYK (cyan-magenta-yellow-black) output channel for a specified category.

```csharp
public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
```

| Parameter | Type | Description |
| --- | --- | --- |
| flags | ColorChannelFlag | An element of ColorChannelFlag that specifies the output channel. |
| type | ColorAdjustType | An element of ColorAdjustType that specifies the category for which the output channel is set. |

### See Also

* enum [ColorChannelFlag](../../colorchannelflag/)
* enum [ColorAdjustType](../../coloradjusttype/)
* class [ImageAttributes](../)
* namespace [Aspose.Drawing.Imaging](../../imageattributes/)
* assembly [Aspose.Drawing.Common](../../../)


