## SetThreshold(float) {#setthreshold}

Establece el umbral (rango de transparencia) para la categoría predeterminada.

```csharp
public void SetThreshold(float threshold)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| threshold | Single | Un número real que especifica el valor de umbral. |

### Ver también

* class [ImageAttributes](../../imageattributes)
* espacio de nombres [Aspose.Imaging](../../imageattributes)
* asamblea [Aspose.Imaging](../../../)

---

## SetThreshold(float, ColorAdjustType) {#setthreshold_1}

Establece el umbral (rango de transparencia) para una categoría específica.

```csharp
public void SetThreshold(float threshold, ColorAdjustType type)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| threshold | Single | Un valor de umbral de 0,0 a 1,0 que se utiliza como punto de interrupción para ordenar los colores que se asignarán a un valor máximo o mínimo. |
| type | ColorAdjustType | un elemento de[`ColorAdjustType`](../../coloradjusttype) que especifica la categoría para la que se establece el umbral de color. |

### Ver también

* enum [ColorAdjustType](../../coloradjusttype)
* class [ImageAttributes](../../imageattributes)
* espacio de nombres [Aspose.Imaging](../../imageattributes)
* asamblea [Aspose.Imaging](../../../)

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