Video Chat Pro ActiveX Control

ChatBannerBgColor 

 

(For Chat Banner plugin only) Change the background color of text message in real time. 
 

Public Function ChatBannerBgColor(
    ByVal iR As Integer, _
    ByVal iG As Integer, _
    ByVal iB As Integer, _
    ByVal iA As Integer
    )

 

Parameter
iR - The color value with red component of background color of text (0-255).
iG - The color value with green component of background color of text (0-255).
iB - The color value with blue component of background color of text (0-255).
iA - 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.

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