BPCVid.VideoOn

[This is preliminary documentation and subject to change.]

The VideoOn property sets or returns a value indicating whether video is displayed by the control.

Syntax

object.VideoOn [ = bState ]
 

Parts

object
Object expression that resolves to a BPCVid object.
bState
Boolean expression that is True if multimedia data from the device indicated by the BPCVid.Input property is displayed by the Video control, and False if it is not displayed. True is the default.

Remarks

You can use this property to turn off video when your application needs to pass the contents of the current input device to the output device without displaying anything on-screen. For example, you can use VideoOn if your application is scheduling a recording in the background.

To route media data from the device indicated by Input to the device indicated by the BPCVid.Output property without displaying the media data, set VideoOn to False.

Setting VideoOn to False mutes audio output in addition to turning off video. To play audio-only content, set VideoOn to True and set the BPCDevices.Height and BPCDevices.Width properties to zero.

This property is not stored locally in the BPCVid object; instead, it is passed to the restricted property in the corresponding BPCDevices object. You set this property, however, using BPCVid. This ensures that the Video control is properly updated.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.
  Unicode: Yes.

See Also

BPCVid.Input