---
title: "ImageAttributes.SetNoOp"
url: "https://reference.aspose.com/drawing/net/aspose.drawing.imaging/imageattributes/setnoop/"
product: "Aspose.Drawing for .NET API Reference"
description: "ImageAttributes method. Turns off color adjustment for the default category. You can call the ClearNoOp method to reinstate the coloradjustment settings that were in place before the call to the SetNoOp method"
---

## SetNoOp() {#setnoop}

Turns off color adjustment for the default category. You can call the [`ClearNoOp`](../clearnoop/) method to reinstate the color-adjustment settings that were in place before the call to the `SetNoOp` method.

```csharp
public void SetNoOp()
```

### See Also

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

---

## SetNoOp(ColorAdjustType) {#setnoop_1}

Turns off color adjustment for a specified category. You can call the [`ClearNoOp`](../clearnoop/) method to reinstate the color-adjustment settings that were in place before the call to the `SetNoOp` method.

```csharp
public void SetNoOp(ColorAdjustType type)
```

| Parameter | Type | Description |
| --- | --- | --- |
| type | ColorAdjustType | An element of ColorAdjustType that specifies the category for which color correction is turned off. |

### See Also

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


