Viscom Software Screen2Video ActiveX Control

ShowImage Method

Description:   

Show/Hide the specific index of image.

Usage:   

Screen2Video1.ShowImage Parameter1, Parameter2

Return Value:

No Return value.

Parameter:

Parameter1- the index of image. First index is zero, up to 60 index. You can control 60 images in same time. (Data Type: Integer)
Parameter2- True - show the image, False - hide the image.. (Data Type: Bool)


 

Example:   

This Visual Basic example start the screen capture"

Private Sub cmdCapture_Click()     

        Screen2Video1.OutputType=0
        Screen2Video1.UseOverlay = true
        Screen2Video1.UseHWAcceleration=True
        Screen2Video1.UseAudioCompressor=False
        Screen2Video1.UseVideoCompressor=False
        Screen2Video1.FileName="c:\test.avi"
        Screen2Video1.Start
        Screen2Video1.DrawImage 0,100,100, c:\test.jpg, RGB(0,0,0), 255
        Screen2Video1.ShowImage 0,True
End Sub