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,
	System.IntPtr 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.
dataSystem.IntPtrPointer to the beginning of the image data.

Function Overrides

See also