Export (0) Print
Expand All

ColorBalance class

Applies to: desktop apps only

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.

Members

The ColorBalance class inherits from Effect. ColorBalance also has these types of members:

Constructors

The ColorBalance class has these constructors.

ConstructorDescription
ColorBalance::ColorBalance

Creates a new ColorBalance object.

 

Methods

The ColorBalance class has these methods.

MethodDescription
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.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2015 Microsoft