BrightnessContrast Class

The BrightnessContrast class enables you to change the brightness and contrast of a bitmap. Pass the address of a BrightnessContrast object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify the brightness and contrast levels, pass a BrightnessContrastParams structure to the BrightnessContrast::SetParameters method of a BrightnessContrast object.


The BrightnessContrast class has these methods.

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


Target Platform Windows
Header gdipluseffects.h