SetSaturationEffect Method

See Also     Examples     Applies To

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

Syntax

object.SetSaturationEffect (nSaturationPct)

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

GdTwainStatus

Remarks

The GdTwainStatus constants are defined HERE

Category

Brightness / Contrast / Saturation / Gamma Effects

Visual Basic Sample

To increase saturation of 10% :
nStat = object.SetSaturationEffect(10)

To decrease saturation of 10% :
nStat = object.SetSaturationEffect(-10)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.