---
title: "Contrast..::.Auto Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Contrast_Auto.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Contrast.Auto Property 
 
Gets/sets a value specifying if transform should be run in automatic mode.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Property Auto As Boolean
```
 
```csharp
public bool Auto { get; set; }
```
 
### Property Value
A value specifying if transform should be run in automatic mode. If it is **true**, property [Amount](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Contrast_Amount.htm.md) will be ignored and contrast modifier will be calculated automatically.
 
## Remarks
  
**Note** 
If you set Auto property to **true**, and modifying [Amount](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Contrast_Amount.htm.md), Auto is reset to **false**.
 
When you create [Contrast](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Contrast.htm.md) without specifying brightness amount, default value is **true**. If amount is passed to constructor, default value is **false**.
   
## See Also

### Reference

- [Contrast Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Contrast.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
