You are here: Start » AVL.NET » VideoBoxImage.SetImage Method

VideoBoxImage.SetImage Method

Sets the image data to be displayed in the VideoBox control.

Namespace:HMI.Controls
Assembly:HMI.Controls.dll

Syntax

public void SetImage
(
	int width,
	int height,
	int depth,
	VideoBoxBase.ImagePixelType type,
	int pitch,
	byte[] data
)

Parameters

Name Type Range Default Description
widthintWidth of the image in pixels.
heightintHeight of the image in pixels.
depthintNumber of image color channels.
typeVideoBoxBase.ImagePixelTypePixel channel data type used by the image.
pitchintOffset in bytes between scan lines in the image data.
databyte[]Image data buffer.

Function Overrides

See also