ColorBalance Class

The ColorBalance class enables you to change the color balance (relative amounts of red, green, and blue) of a bitmap. Pass the address of a ColorBalance object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify the nature of the change, pass the address of a ColorBalanceParams structure to the ColorBalance::SetParameters method of a ColorBalance object.

Methods

The ColorBalance class has these methods.

Method Description
ColorBalance::ColorBalance Creates a new ColorBalance object.
ColorBalance::GetParameters The ColorBalance::GetParameters method gets the current values of the parameters of this ColorBalance object.
ColorBalance::SetParameters The ColorBalance::SetParameters method sets the parameters of this ColorBalance object.

Requirements

   
Target Platform Windows
Header gdipluseffects.h