Levels class (gdipluseffects.h)
The Levels class encompasses three bitmap adjustments: highlight, midtone, and shadow. You can apply one or more of those adjustments to a bitmap by passing the address of a Levels object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method. To specify the intensities of the adjustments, pass the address of a LevelsParams structure to the Levels::SetParameters method of a Levels object.
Inheritance
The Levels class implements Effect.
Methods
The Levels class has these methods.
Levels::GetParameters The Levels::GetParameters method gets the current values of the parameters of this Levels object. |
Levels::Levels Creates a Levels object. |
Levels::SetParameters The Levels::SetParameters method sets the parameters of this Levels object. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | gdipluseffects.h |