IVideoGammas Property

Gammas supported by the camera.

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
IList<string> Gammas { get; }

Return Value

IListString
An ArrayList of gamma names or values

Remarks

Gammas provides a 0-based array of available gamma settings. This list can contain the widely used values of OFF, LO and HI that correspond to gammas of 1.00, 0.45 and 0.35 as well as other extended values. Typically the application software will display the available gamma settings in a drop list. The application will then supply the selected index to the driver via the Gamma property.

The Gamma setting may alternatively be specified using integer values; if this mode is used then Gammas is invalid and must throw an exception. Please see GammaMax and GammaMin 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

NotImplementedExceptionMust throw an exception if Gammas is not supported
NotConnectedExceptionWhen Connected is False.
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.

Version Information

.NET Standard

Supported in: 2.0

See Also