Viscom Software VideoCap ActiveX Control

PIPInitDisplayArea Method

Description:   

Initialize display area of Picture in Picture effect. You must call this method first, if you need use Picture in Picture effect.

Usage:   

VideoCap1.PIPInitDisplayArea iWidth, iHeight

iWidth- the width of display area, in pixels
iHeight- the height of display area, in pixels

 

Return Value:

Return TRUE - successful , Return FALSE - Failure.

Example:   

This Visual Basic example shows how to use PIPInitDisplayArea 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