SetGammaCorrectionEffect Method

See Also     Examples     Applies To

Performs Gamma correction into the native image or into the area defined by FiltersToZone() method.

Syntax

object.SetGammaCorrectionEffect (nGammaFactor)

The SetGammaCorrectionEffect syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nGammaFactor Required. Long. Factor of Gamma adjustement.

Returns

ImagingStatus

Remarks

The ImagingStatus constants are defined HERE

Category

Brightness / Contrast / Saturation / Gamma Effects

Visual Basic Sample

To increase gamma of 10% :
nStat = object.SetGammaCorrectionEffect(100 + 10)

To decrease gamma of 10% :
nStat = object.SetGammaCorrectionEffect(100 - 10)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.