SetContrastEffect Method

See Also     Examples     Applies To

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

Syntax

object.SetContrastEffect (nContrastPct)

The SetContrastEffect syntax has these parts:

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

Returns

GdTwainStatus

Remarks

The GdTwainStatus constants are defined HERE

Category

Brightness / Contrast / Saturation / Gamma Effects

Visual Basic Sample

To increase contrast of 10% :
nStat = object.SetContrastEffect(10)

To decrease contrast of 10% :
nStat = object.SetContrastEffect(-10)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.