## SetThreshold(float) {#setthreshold}

يضبط الحد الأدنى (نطاق الشفافية) للفئة الافتراضية.

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| threshold | Single | رقم حقيقي يحدد قيمة الحد. |

### أنظر أيضا

* class [ImageAttributes](../../imageattributes)
* مساحة الاسم [System.Drawing.Imaging](../../imageattributes)
* المجسم [Aspose.Drawing](../../../)

---

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

يضبط العتبة (نطاق الشفافية) لفئة محددة .

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| threshold | Single | قيمة حد من 0.0 إلى 1.0 تُستخدم كنقطة توقف لفرز Colors التي سيتم تعيينها إلى قيمة قصوى أو أدنى قيمة. |
| type | ColorAdjustType | عنصرColorAdjustType يحدد الفئة التي تم تعيين حد اللون لها. |

### أنظر أيضا

* enum [ColorAdjustType](../../coloradjusttype)
* class [ImageAttributes](../../imageattributes)
* مساحة الاسم [System.Drawing.Imaging](../../imageattributes)
* المجسم [Aspose.Drawing](../../../)

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