ImageAttributes.SetColorKey

SetColorKey(Color, Color)

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


SetColorKey(Color, Color, ColorAdjustType)

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