ImageAttributes.SetThreshold
Contents
[
Hide
]SetThreshold(float)
Sets the threshold (transparency range) for the default category.
public void SetThreshold(float threshold)
Parameter | Type | Description |
---|---|---|
threshold | Single | A real number that specifies the threshold value. |
See Also
- class ImageAttributes
- namespace System.Drawing.Imaging
- assembly Aspose.Drawing
SetThreshold(float, ColorAdjustType)
Sets the threshold (transparency range) for a specified category.
public void SetThreshold(float threshold, ColorAdjustType type)
Parameter | Type | Description |
---|---|---|
threshold | Single | A threshold value from 0.0 to 1.0 that is used as a breakpoint to sort colors that will be mapped to either a maximum or a minimum value. |
type | ColorAdjustType | An element of ColorAdjustType that specifies the category for which the color threshold is set. |
See Also
- enum ColorAdjustType
- class ImageAttributes
- namespace System.Drawing.Imaging
- assembly Aspose.Drawing