SetBrightnessEffect Method

See Also     Examples     Applies To

Adjust the brightness into the native image or into the area defined by FiltersToZone() method.

Syntax

object.SetBrightnessEffect (nBrightnessPct)

The SetBrightnessEffect syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nBrightnessPct Required. Long. Percentage of brightness to add/remove.

Returns

GdTwainStatus

Remarks

The GdTwainStatus constants are defined HERE

Category

Brightness / Contrast / Saturation / Gamma Effects

Visual Basic Sample

To increase brightness of 10% :
nStat = object.SetBrigtnessEffect(10)

To decrease brightness of 10% :
nStat = object.SetBrigtnessEffect(-10)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.