---
title: "Levels.Threshold Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Levels_Threshold.htm
product: "Graphics Mill"
---

# Levels.Threshold Property 
 
Gets or sets a threshold level.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public float Threshold { get; set; }
```
 
### Property Value
The threshold level on which correction should be based.
 
## Remarks
  
The threshold value is used to define a percent of pixels on edges of the tonal range to discard. Threshold = 1 is 100% of pixels. To get more or less realistic result, use a value less than 1% (0.01). For example:
 
- If you want to get a result similar to Photoshop® 7, use 0.5% (0.005).
- If you want a result similar to Photoshop CS or later, use 0.1% (0.001).
   
## See Also

### Reference

- [Levels Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Levels.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
