SetGamma method

Sets the value used for gamma correction.

Syntax

HRESULT retVal = object.SetGamma(newVal);

Parameters

  • newVal [in]
    Type: float

    Value used for gamma correction. This value must be greater than zero.

Remarks

This is a standard brightness adjustment. Gamma correction values of 1.0 produce no effect.