Viscom Software VideoCap ActiveX Control

EffectScrollFadeEdge Method

Description:   

Set the fade edge of scrolling banner text if you set the EffectType =6.

Usage:   

VideoCap1.EffectScrollTextFadeEdge Parameter1,Parameter2

Parameter:

Parameter1- The time of fade in (0 - 1.0). (Data Type: double)

Parameter2- The time of fade out (0 - 1.0). (Data Type: double)

 

Return Value:

No Return value.

Example:   

The Visual Basic example 

    VideoCap1.EffectType = 6
    VideoCap1.Start
    VideoCap1.EffectScrollTextAdd "Please enter your text"  
    VideoCap1.EffectScrollTextPos 0, 0
    VideoCap1.EffectScrollTextDirection = 2
    VideoCap1.EffectScrollTextFont "Arial", 50, 0
    VideoCap1.EffectScrollTextSpeed =3
    VideoCap1.EffectScrollTextState =0
    VideoCap1.EffectScrollTextColor 255, 0, 0, 255
    VideoCap1.EffectScrollTextBgColor 0, 0, 255, 255
    VideoCap1.EffectScrollTextFillBgColor = True
       VideoCap1.EffectScrollFadeEdge 0, 0.6