Viscom Software VideoCap ActiveX Control

EffectScrollTextFont Method

Description:   

Set the font name, font size, font style of scrolling banner text if you set the EffectType =6.

Usage:   

VideoCap1.EffectScrollTextFont Parameter1,Parameter2, Parameter3

Parameter:

Parameter1- The string of font name. (Data Type: string)

Parameter2- The font size. (Data Type: integer)

Parameter3- The font style. (Data Type: integer)
 0 - Regular
 1 - Bold
 2- Italic
 3 - BoldItalic
 

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