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 | |
|---|---|---|---|---|---|
| width | int | Width of the image in pixels. | |||
| height | int | Height of the image in pixels. | |||
| depth | int | Number of image color channels. | |||
| type | VideoBoxBase.ImagePixelType | Pixel channel data type used by the image. | |||
| pitch | int | Offset in bytes between scan lines in the image data. | |||
| data | System.IntPtr | Pointer to the beginning of the image data. |
