Viscom Software VideoCap ActiveX Control

PIPAddPIPEffect Method

Description:   

Apply Picture in Picture effect at specific time range.

Usage:   

VideoCap1.PIPAddPIPEffect iStartTime, iStopTime, iOffsetX, iOffsetY, iWidth, iHeight

iStartTime- the start time of PIP effect, unit is second.
iStopTime- the stop time of PIP effect, unit is second.
iOffsetX - The x-coordinate of the subrectangle on the image or video capture , in pixels.
iOffsetY - The y-coordinate of the subrectangle on the image or video capture , in pixels.
iWidth - The Width of the subrectangle , in pixels.
iHeight - The Height of the subrectangle , in pixels.
 

Return Value:

No Return value.

Example:   

This Visual Basic example shows how to use PIPAddPIPEffect method

VideoCap1.PIPInitDisplayArea 640, 480
VideoCap1.PIPAddImage "c:\test.jpg", 0, 255
VideoCap1.PIPAddPIPEffect 0, 9999, 0, 0, 640, 480

VideoCap1.PIPAddVideoDevice(0, 0, 0, 255)
VideoCap1.PIPAddPIPEffect 0, 9999, 0, 0, 320, 240
VideoCap1.PIPStart