## SetGamma(float) {#setgamma}

Imposta il valore gamma per la categoria predefinita.

```csharp
public void SetGamma(float gamma)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| gamma | Single | Il valore di correzione gamma. |

### Guarda anche

* class [ImageAttributes](../../imageattributes)
* spazio dei nomi [Aspose.Imaging](../../imageattributes)
* assemblea [Aspose.Imaging](../../../)

---

## SetGamma(float, ColorAdjustType) {#setgamma_1}

Imposta il valore gamma per una categoria specificata.

```csharp
public void SetGamma(float gamma, ColorAdjustType type)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| gamma | Single | Il valore di correzione gamma. |
| type | ColorAdjustType | Un elemento del[`ColorAdjustType`](../../coloradjusttype) enumerazione che specifica la categoria per la quale è impostato il valore gamma. |

### Guarda anche

* enum [ColorAdjustType](../../coloradjusttype)
* class [ImageAttributes](../../imageattributes)
* spazio dei nomi [Aspose.Imaging](../../imageattributes)
* assemblea [Aspose.Imaging](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Imaging.dll -->
