AdjustBrightness

The AdjustBrightness method adjusts the brightness of an image.

 

Syntax

object.AdjustBrightness( Range )

 

Parameter

Type

Description

Range

Integer

required; value between -100 and 100

 

Remarks

The value -100 is completely black and 100 is completely white.

 

Example

This example makes an image 50 percent brighter.

 

Bitmap.AdjustBrightness(50)

 

Used by: Bitmap object