Viscom Software VideoCap ActiveX Control

EffectScrollTextBgColor Method

Description:   

Set the scrolling banner text background color if you set the EffectType =6.

Usage:   

VideoCap1.EffectScrollTextBgColor Parameter1,Parameter2,Parameter3,Parameter4

Parameter:

Parameter1- The color value with red component of background color of text (0-255). (Data Type: Integer)

Parameter2- The color value with green component of background color of text (0-255). (Data Type: Integer)

Parameter3- The color value with blue component of background color of text (0-255). (Data Type: Integer)

Parameter4- The alpha value of background color of text (0-255). A pixel with an alpha value of zero is completely transparent. A pixel with an alpha value of 255 is opaque.
 (Data Type: Integer)



 

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