Sets the image array which is typically returned by IVideoFrame.ImageArray.

Namespace: ASCOM.Utilities.Video
Assembly: ASCOM.Utilities.Video (in ASCOM.Utilities.Video.dll) Version: 6.1.0.0 (6.1.1.2619)

Syntax

C#
public void SetImageArray(
	Object imageArray,
	int imageWidth,
	int imageHeight,
	SensorType sensorType
)
Visual Basic
Public Sub SetImageArray ( _
	imageArray As Object, _
	imageWidth As Integer, _
	imageHeight As Integer, _
	sensorType As SensorType _
)
Visual C++
public:
virtual void SetImageArray(
	Object^ imageArray, 
	int imageWidth, 
	int imageHeight, 
	SensorType sensorType
) sealed

Parameters

imageArray
Type: System..::..Object
The image array object.
imageWidth
Type: System..::..Int32
The width of the image contained in the image array data.
imageHeight
Type: System..::..Int32
The height of the image contained in the image array data.
sensorType
Type: ASCOM.DeviceInterface..::..SensorType
The sensor type for which the image array data has been encoded.

Implements

ICameraImage..::..SetImageArray(Object, Int32, Int32, SensorType)

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionThrows this exception if the sensorType is not supported. Only Monochrome and Color sensor types are supported.

See Also