ImageAttributes.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)
ParameterTypeDescription
paletteColorPaletteA ColorPalette that on input contains the palette to be adjusted, and on output contains the adjusted palette.
typeColorAdjustTypeAn element of ColorAdjustType that specifies the category whose adjustment settings will be applied to the palette.

See Also