Viscom Software Screen2Video ActiveX Control

UseOverlay Property

Description:   

Enable or Disable draw overlay text, image, date time on video. If you need use DrawImage, DrawText, DrawDateTime methods, you must set UseOverlay = true.

Usage:   

Screen2Video1.UseOverlay[= value]

Data Type:   

Boolean

Example:   

This Visual Basic example output to avi without compressor.

Private Sub Capture_Click()      
        Screen2Video1.OutputType=0
        Screen2Video1.UseOverlay = true
        Screen2Video1.UseHWAcceleration=True
        Screen2Video1.UseAudioCompressor=False
        Screen2Video1.UseVideoCompressor=False
        Screen2Video1.FileName="c:\test.avi"
        Screen2Video1.Start
        Screen2Video1.DateSetFontStyle 0
        Screen2Video1.DateSetFontName "Arial"
        Screen2Video1.DateSetFontSize 30
        Screen2Video1.DateSetColor RGB(255,0,0)
        Screen2Video1.DrawDateTime 100, 100, 7

End Sub