Returns the Y offset of the Bayer matrix, as defined in SensorType, 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 BayerOffsetY { get; }
Visual Basic
Public ReadOnly Property BayerOffsetY As Short
	Get
Visual C++
public:
virtual property short BayerOffsetY {
	short get () sealed;
}

Return Value

The Bayer colour matrix Y offset.

Implements

ICameraV2..::..BayerOffsetY

Remarks

The offset is relative to the 0,0 pixel in the sensor array, and does not change to reflect subframe settings.

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.

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