Returns a safearray of Variant of size NumX * NumY containing the pixel values from the last exposure.

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

Syntax

C#
Object ImageArrayVariant { get; }
Visual Basic
ReadOnly Property ImageArrayVariant As Object
	Get
Visual C++
property Object^ ImageArrayVariant {
	Object^ get ();
}

Field Value

The image array variant.

Remarks

The application must inspect the Safearray parameters to determine the dimensions. Note: if NumX or NumY is changed after a call to StartExposure it will have no effect on the size of this array. This property should only be used from scripts due to the extremely high memory utilization on large image arrays (26 bytes per pixel). Pixels values should be in Short, int, or Double format.

For color or multispectral cameras, will produce an array of NumX * NumY * NumPlanes. If the application cannot handle multispectral images, it should use just the first plane.

Exceptions

ExceptionCondition
ASCOM..::..NotConnectedExceptionMust throw exception if data unavailable.

See Also