Maximum value of Gamma.

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

Syntax

C#
public short GammaMax { get; }
Visual Basic
Public ReadOnly Property GammaMax As Short
	Get
Visual C++
public:
virtual property short GammaMax {
	short get () sealed;
}

Field Value

Short integer representing the maximum gamma value supported by the camera.

Return Value

The maximum gain value that this camera supports

Implements

IVideo..::..GammaMax

Remarks

When specifying the gamma setting with an integer value, GammaMax is used in conjunction with GammaMin to specify the range of valid settings.

GammaMax shall be greater than GammaMin. If either is available, then both must be available.

Please see Gamma for more information.

It is recommended that this function be called only after a connection is established with the camera hardware, to ensure that the driver is aware of the capabilities of the specific camera model.

Exceptions

ExceptionCondition
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..::..PropertyNotImplementedExceptionMust throw an exception if GammaMax is not supported

See Also