## SetThreshold(float) {#setthreshold}

Legt den Schwellenwert (Transparenzbereich) für die Standardkategorie fest.

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

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| threshold | Single | Eine reelle Zahl, die den Schwellenwert angibt. |

### Siehe auch

* class [ImageAttributes](../../imageattributes)
* namensraum [Aspose.Imaging](../../imageattributes)
* Montage [Aspose.Imaging](../../../)

---

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

Legt den Schwellenwert (Transparenzbereich) für eine bestimmte Kategorie fest.

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

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| threshold | Single | Ein Schwellenwert von 0,0 bis 1,0, der als Haltepunkt zum Sortieren von Farben verwendet wird, die entweder einem Höchst- oder einem Mindestwert zugeordnet werden. |
| type | ColorAdjustType | Ein Element von[`ColorAdjustType`](../../coloradjusttype) die die Kategorie angibt, für die der Farbschwellenwert festgelegt wird. |

### Siehe auch

* enum [ColorAdjustType](../../coloradjusttype)
* class [ImageAttributes](../../imageattributes)
* namensraum [Aspose.Imaging](../../imageattributes)
* Montage [Aspose.Imaging](../../../)

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