ImageAttributes.SetThreshold

SetThreshold(float)

Sets the threshold (transparency range) for the default category.

public void SetThreshold(float threshold)
ParameterTypeDescription
thresholdSingleA real number that specifies the threshold value.

See Also


SetThreshold(float, ColorAdjustType)

Sets the threshold (transparency range) for a specified category.

public void SetThreshold(float threshold, ColorAdjustType type)
ParameterTypeDescription
thresholdSingleA 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.
typeColorAdjustTypeAn element of ColorAdjustType that specifies the category for which the color threshold is set.

See Also