Bayer X offset index, Interface Version 2 only

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

Syntax

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

Return Value

The Bayer colour matrix X offset, as defined in SensorType.

Implements

ICameraV2..::..BayerOffsetX

Remarks

Returns the X offset of the Bayer matrix, as defined in SensorType. Value returned must be in the range 0 to M-1, where M is the width of the Bayer matrix. The offset is relative to the 0,0 pixel in the sensor array, and does not change to reflect subframe settings.

This is only available for the Camera Interface Version 2

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..::..InvalidValueExceptionMust throw an exception if not valid.

See Also