## ClearColorKey() {#clearcolorkey}

Clears the color key (transparency range) for the default category.

```csharp
public void ClearColorKey()
```

### See Also

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

---

## ClearColorKey(ColorAdjustType) {#clearcolorkey_1}

Clears the color key (transparency range) for a specified category.

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

| Parameter | Type | Description |
| --- | --- | --- |
| type | ColorAdjustType | An element of ColorAdjustType that specifies the category for which the color key is cleared. |

### See Also

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


