Click or drag to resize
CameraImageSetImageArray 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: 6.1.0.0 (6.3.0.2839)
Syntax
public 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