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

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

Syntax

C#
public Object ImageArray { get; }
Visual Basic
Public ReadOnly Property ImageArray As Object
	Get
Visual C++
public:
virtual property Object^ ImageArray {
	Object^ get () sealed;
}

Field Value

The image array.

Implements

ICameraV2..::..ImageArray

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 is the preferred method for programs (not scripts) to download iamges since it requires much less memory.

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