PaintContrast property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int PaintContrast

Delphi Syntax

PaintContrast: Integer

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Contrast correction value used by painting operations.

Setting the contrast value that is used for painting lets you adjust the displayed contrast of all images without changing the bitmap data.

Possible values range from -1000 to +1000. A positive value increases the contrast of the displayed image. A negative value decreases the contrast of the image.

When applying contrast, gamma, and intensity changes to an image, LEAD applies the changes in the following order:

Contrast

Intensity

Gamma

See Also

Elements:

BackErase property, BitonalScaling property, PaintDither property, PaintEffect property, PaintPalette property, PaintROP3 property, PaintGamma property, PaintIntensity property

Topics:

Raster Images: Displaying Images

 

Changing Brightness and Contrast