Video Chat Pro ActiveX Control

SetOverlayImagePos

 

Set the position of overlay image , you must set the OverlayType =1 if you want to display the overlay image.
 

Public Function SetOverlayImagePos(
    ByVal iX As Integer, _
    ByVal iY As Integer
    )

 

Parameter
iX- Specifies the logical x-coordinate of the overlay image.
iY- Specifies the logical y-coordinate of the overlay image.


No Return Value

Example

   

Visual Basic Syntax
VideoChatSender1.VideoDevice=0
VideochatSender1.AudioDevice=0
VideochatSender1.VideoFormat =0
VideochatSender1.FrameRate = 25
VideochatSender1.VideoBitrate = 50000
VideochatSender1.AudioComplexity = 0
VideochatSender1.AudioQuality = 0
VideochatSender1.SendVideoStream = True
VideochatSender1.SendAudioStream = True
VideoChatSender1.OverlayType = 1
iresult = VideochatSender1.Connect("192.168.1.12", 7000)
VideoChatSender1.SetOverlayImage "c:\test\image.bmp"
VideoChatSender1.SetOverlayImagePos 0,0
VideoChatSender1.SetOverlayImageTransColor 0,0,0,255