## 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 [System.Drawing.Imaging](../../imageattributes/)
* assembly [Aspose.Drawing](../../../)

---

## 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 [System.Drawing.Imaging](../../imageattributes/)
* assembly [Aspose.Drawing](../../../)


