Video Chat Pro ActiveX Control

GrayScale

 

Add Gray Scale effect on a video stream. Make sure you set UseOverlay property to true.

Public Function GrayScale(
    ByVal bEnable as bool
    )

 

Parameter
bInvert
True - enable gray scale color
False - return to normal color


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.UseOverlay = True
iresult = VideochatSender1.Connect("192.168.1.12", 7000)
'when see the video window call the following code
VideochatSender1.GrayScale true