GetAdjustedPalette

ImageAttributes.GetAdjustedPalette method

Adjusts the colors in a palette according to the adjustment settings of a specified category.

public void GetAdjustedPalette(ColorPalette palette, ColorAdjustType type)
Parameter Type Description
palette ColorPalette A ColorPalette that on input contains the palette to be adjusted, and on output contains the adjusted palette.
type ColorAdjustType An element of ColorAdjustType that specifies the category whose adjustment settings will be applied to the palette.

See Also