Index into the Gammas array for the selected camera gamma.

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: (


public short Gamma { get; set; }
Visual Basic
Public Property Gamma As Short
Visual C++
virtual property short Gamma {
	short get () sealed;
	void set (short value) sealed;

Field Value

Short integer index for the current camera gamma in the Gammas string array.

Return Value

Index into the Gammas array for the selected camera gamma




Gamma can be used to adjust the gamma setting of the camera, if supported. There are two typical usage scenarios:
  • Discrete gamma video cameras will return a 0-based array of strings - Gammas, which correspond to different discrete gamma settings supported by the camera. Gamma must be set to an integer in this range. GammaMin and GammaMax must thrown an exception if this mode is used.
  • Adjustable gain video cameras - GammaMin and GammaMax return integers, which specify the valid range for Gamma.

The driver must default Gamma to a valid value.


ASCOM..::..NotConnectedExceptionMust throw an exception if the information is not available. (Some drivers may require an active connection in order to retrieve necessary information from the camera.)
ASCOM..::..InvalidValueExceptionMust throw an exception if not valid.
ASCOM..::..PropertyNotImplementedExceptionMust throw an exception if gamma is not supported.

See Also