Video Chat Pro ActiveX Control

ChatBannerSetFont

 

(For Chat Banner plugin only)  Set the font, font size, font style of text message in real time. 
 

Public Function ChatBannerSetFont(
    ByVal strFontName As string, _
    ByVal iFontSize As integer, _
    ByVal iStyle As integer
    )

 

Parameter
strFontName - the string of font name.
iFontSize - the font size.
iStyle
0 - Regular
1 - Bold
2 - Italic

No Return Value

Example

   

Visual Basic Syntax
VideoChatSender1.VideoDevice=0
VideochatSender1.AudioDevice=0
VideochatSender1.VideoFormat =0
VideochatSender1.FrameRate = 15
VideochatSender1.VideoBitrate = 50000
VideochatSender1.AudioComplexity = 0
VideochatSender1.AudioQuality = 0
VideochatSender1.SendVideoStream = True
VideochatSender1.SendAudioStream = True
VideoChatSender1.OverlayType = 2
VideoChatSender1.ChatBannerDirection 2
iresult = VideochatSender1.Connect("192.168.1.12", 7000)
VideoChatSender1.ChatBannerAddText "This is my message"
VideoChatSender1.ChatBannerFillBgColor True
VideoChatSender1.ChatBannerBgColor 255,0,0,255
VideoChatSender1.ChatBannerFadeEdge 0.1, 0.4
VideoChatSender1.ChatBannerPos 0,100
VideoChatSender1.ChatBannerSetFont "Arial", 60, 0