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

VideoBoxBase.SetImage Method

Sets a general image data to be displayed in this control.

Namespace:VideoBoxBase
Assembly:VideoBoxBase.dll

Syntax

public void SetImage
(
	int width,
	int height,
	int depth,
	VideoBoxBase.ImagePixelType type,
	int pitch,
	System.Void* data
)

Parameters

Name Type Range Default Description
widthintWidth of the image in pixels.
heightintHeight of the image in pixels
depthintNumber of channels per pixel.
typeVideoBoxBase.ImagePixelTypeData type of the pixel channel.
pitchintOffset in bytes between the beginnings of the scan lines in the image data buffer.
dataSystem.Void*Pointer to the beginning of the image data buffer.

Function Overrides

See also