Viscom Software VideoCap ActiveX Control

SnapShot2ByteArray Method

Description:   

SnapShot to Byte Array from video capture device.

 

Usage:   

VideoCap1.SnapShot2ByteArray

Return Value:

Return Byte Array.

Example:   

This Visual Basic.NET example shows how to use SnapShot2ByteArray

Dim bytes() As Byte
bytes = AxVideoCap1.SnapShot2ByteArray()
If IsNothing(bytes) Then Exit Sub End If
pictureBox1.Image = Image.FromStream(New System.IO.MemoryStream(bytes))