Partager via


VideoPreview object

Displays the video stream of a video imaging device. A VideoPreview object can be created by dropping the VideoPreview control on a form or by using an OBJECT tag. The VideoPreview control is a visible control.

Members

The VideoPreview object has these types of members:

Properties

The VideoPreview object has these properties.

Property Access type Description
Device (VideoPreview)
Read/write
Sets or retrieves the Device to preview.
Pause
Read/write
Sets or retrieves a value indicating whether video playback is paused.

Remarks

Note that the VideoPreview control uses and displays the first available video imaging device on initialization. Consequently, if you want to use more than one VideoPreview control on a Microsoft Visual Basic form, HTML page, or HTML Application (HTA), you might encounter problems specifing the Device (VideoPreview) property as it might already be in use in a different VideoPreview control. The easiest way to handle this is to set all Device (VideoPreview) properties to Nothing prior to using any of them.

For example code, see Use VideoPreview Control in HTML in Shared Samples.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Pause