PaintContrast property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short PaintContrast

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, ForePalette property, PaintDither property, PaintEffect property, PaintPalette property, PaintROP3 property, PaintGamma property, PaintIntensity property

Topics:

Raster Images: Displaying Images

 

Changing Brightness and Contrast