---
title: "ColorAdjustmentProvider..::.AutoBrightness Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ColorAdjustmentProvider_AutoBrightness.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/)

# ColorAdjustmentProvider.AutoBrightness Method 
 
Automatically adjusts brightness.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub AutoBrightness
```
 
```csharp
public void AutoBrightness()
```
 
## Remarks
 You can also use [Brightness](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Brightness.htm.md) class to apply this correction (with [Auto](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Brightness_Auto.htm.md) property set to **true**).
 
## Examples
  
```
bitmap.ColorAdjustment.AutoBrightness()
```
 
```csharp
bitmap.ColorAdjustment.AutoBrightness();
```
   
## See Also

### Reference

- [ColorAdjustmentProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorAdjustmentProvider.htm.md)
- [AutoBrightness Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_ColorAdjustmentProvider_AutoBrightness.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
