---
title: "ColorAdjustmentProvider.AutoLevels Method (Single)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorAdjustmentProvider_AutoLevels_1_7a94462e.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# ColorAdjustmentProvider.AutoLevels Method (Single)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Automatically applies levels correction to the bitmap using the specified threshold.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void AutoLevels(float threshold
)
```
 
### Parameters
 
 - threshold
     - Type: System.Single
The threshold level on which correction should be based.
   
## See Also

### Reference

- [ColorAdjustmentProvider Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorAdjustmentProvider.htm.md)
- [AutoLevels Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorAdjustmentProvider_AutoLevels.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
