Click or drag to resize

ICameraImageSetImageArray Method

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: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
void SetImageArray(
	Object imageArray,
	int imageWidth,
	int imageHeight,
	SensorType sensorType
)

Parameters

imageArray
Type: SystemObject
The image array object.
imageWidth
Type: SystemInt32
The width of the image contained in the image array data.
imageHeight
Type: SystemInt32
The height of the image contained in the image array data.
sensorType
Type: ASCOM.DeviceInterfaceSensorType
The sensor type for which the image array data has been encoded.
Exceptions
ExceptionCondition
NotSupportedExceptionThrows this exception if the sensorType is not supported. Only Monochrome and Color sensor types are supported.
See Also