SetBrightness Method

See Also     Examples     Applies To

Adjust the brightness into the native GdPicture image or into an area of the native GdPicture image defined by SetROI() function.

Syntax

object.SetBrightness (nBrightnessPct)

The SetBrightness 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

Long. GdPictureStatus

Category

Brightness / Contrast / Saturation / Gamma

Visual Basic Sample

To increase brightness of 10%


              nStat = object.SetBrigtness(10)






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.