SetThreshold

ImageAttributes.SetThreshold method (1 of 2)

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


ImageAttributes.SetThreshold method (2 of 2)

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