Video Chat Pro ActiveX Control

Rotate

 

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

Public Function Rotate(
    ByVal iRotateValue as Integer
    )

 

Parameter
iRotateValue
the index of rotate vallue.

0 - No rotation
1 - 90-degree rotation without flipping
2 - 180-degree rotation without flipping
3 - 270-degree rotation without flipping
4 - no rotation and a horizontal flip
5 - 90-degree rotation followed by a horizontal flip
6 - 180-degree rotation followed by a horizontal flip
7 - 270-degree rotation followed by a horizontal flip
8 - no rotation and a vertical flip
9 - 90-degree rotation followed by a vertical flip
10 - 180-degree rotation followed by a vertical flip
11 -270-degree rotation followed by a vertical flip


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.Rotate 1