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

{{< psd/tize >}}
## 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`](../../colorchannelflag/) that specifies the output channel. |

### See Also

* enum [ColorChannelFlag](../../colorchannelflag/)
* class [ImageAttributes](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)

---

## 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`](../../colorchannelflag/) that specifies the output channel. |
| type | ColorAdjustType | An element of [`ColorAdjustType`](../../coloradjusttype/) that specifies the category for which the output channel is set. |

### See Also

* enum [ColorChannelFlag](../../colorchannelflag/)
* enum [ColorAdjustType](../../coloradjusttype/)
* class [ImageAttributes](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


