SetSaturation Method

See Also     Examples     Applies To

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

Syntax

object.SetSaturation (nSaturationPct)

The SetSaturation syntax has these parts:

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

Returns

Long. GdPictureStatus

Category

Brightness / Contrast / Saturation / Gamma

Visual Basic Sample

To increase saturation of 10%


              nStat = object.SetSaturation(10)






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.