See Also Examples Applies To
Apply 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
Remarks
The GdTwainStatus 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)