SetColorKey

ImageAttributes.SetColorKey method (1 of 2)

Sets the color key for the default category.

public void SetColorKey(Color colorLow, Color colorHigh)
ParameterTypeDescription
colorLowColorThe low color-key value.
colorHighColorThe high color-key value.

See Also


ImageAttributes.SetColorKey method (2 of 2)

Sets the color key (transparency range) for a specified category.

public void SetColorKey(Color colorLow, Color colorHigh, ColorAdjustType type)
ParameterTypeDescription
colorLowColorThe low color-key value.
colorHighColorThe high color-key value.
typeColorAdjustTypeAn element of ColorAdjustType that specifies the category for which the color key is set.

See Also