Viscom Software VideoCap ActiveX Control

EffectChromaKeyClearBgColor Method

Description:   

Clear the chroma key color. If you called EffectChromaKeyBgColor property or EffectChromaKeyShowEyeDropper method to selected the chroma key color, call this method to clear the chroma key color.

Usage:   

VideoCap1.EffectChromaKeyClearBgColor

Parameter:

No Parameter

 

Return Value:

No Return value.

Example:   

The Visual Basic example 

Private Sub Capture_Click()
 VideoCap1.CaptureMode = False
 VideoCap1.CaptureAudio = True
 VideoCap1.EffectChromaKeyCapAudioDevice = False
 VideoCap1.EffectType = 5
 VideoCap1.EffectChromaKeyVideoFile = "c:\test\yourvideo.mp4"
 VideoCap1.EffectChromaKeyVideoIsBg = False
 VideoCap1.EffectChromaKeyKeepLastFrame = True
 VideoCap1.EffectChromaKeyFreezeOverlay = False
 VideoCap1.EffectChromaKeyDisplayMask = False
 VideoCap1.EffectChromaKeyOverlayX = 0
 VideoCap1.EffectChromaKeyOverlayY = 0
 VideoCap1.EffectChromaKeyOverlayScale = 50
 VideoCap1.Start
 VideoCap1.EffectChromaKeyBgColor = RGB(0, 255, 0)
           
             VideoCap1.EffectChromaKeyClearBgColor
 End Sub