ImageAttributes.SetThreshold
SetThreshold(float)
يضبط العتبة (نطاق الشفافية) للفئة الافتراضية.
public void SetThreshold(float threshold)
| معامل | نوع | الوصف |
|---|---|---|
| threshold | فردي | عدد حقيقي يحدد قيمة العتبة. |
انظر أيضًا
- class ImageAttributes
- namespace Aspose.Imaging
- assembly Aspose.Imaging
SetThreshold(float, ColorAdjustType)
يضبط العتبة (نطاق الشفافية) لفئة محددة.
public void SetThreshold(float threshold, ColorAdjustType type)
| معامل | نوع | الوصف |
|---|---|---|
| threshold | فردي | قيمة عتبة تتراوح من 0.0 إلى 1.0 تُستخدم كنقطة قطع لفرز الألوان التي سيتم تعيينها إما إلى قيمة قصوى أو دنيا. |
| type | ColorAdjustType | عنصر من ColorAdjustType يحدد الفئة التي يتم تعيين عتبة اللون لها. |
انظر أيضًا
- enum ColorAdjustType
- class ImageAttributes
- namespace Aspose.Imaging
- assembly Aspose.Imaging