---
title: "ImageAttributes.ClearThreshold"
url: "https://reference.aspose.com/drawing/net/aspose.drawing.imaging/imageattributes/clearthreshold/"
product: "Aspose.Drawing for .NET API Reference"
description: "ImageAttributes method. Clears the threshold value for the default category"
---

## ClearThreshold() {#clearthreshold}

Clears the threshold value for the default category.

```csharp
public void ClearThreshold()
```

### See Also

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

---

## ClearThreshold(ColorAdjustType) {#clearthreshold_1}

Clears the threshold value for a specified category.

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

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

### See Also

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


