SetColorKey

ImageAttributes.SetColorKey method (1 of 2)

Sets the color key for the default category.

public void SetColorKey(Color colorLow, Color colorHigh)
Parameter Type Description
colorLow Color The low color-key value.
colorHigh Color The 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)
Parameter Type Description
colorLow Color The low color-key value.
colorHigh Color The high color-key value.
type ColorAdjustType An element of ColorAdjustType that specifies the category for which the color key is set.

See Also