VideoFormats

VideoFormats is a collection of VideoFormat objects. A VideoFormats collection is used to obtain the available video formats of the current video capture device. The ICImagingControl.VideoFormats property returns a VideoFormats collection.

Example

This example shows how to fill a combo box with the available video formats:

Dim VidFmtCol As VideoFormats
Dim VidFmt As VideoFormat
Set VidFmtCol = ICImagingControl1.VideoFormats

For Each VidFmt In VidFmtCol
    cboVideoFormatComboBox.AddItem VidFmt.Name
Next

Properties

Property Description
Count

Returns the count of VideoFormat objects in the collection.

Item

Returns the VideoFormat at the specified position.

Methods

Method Description
FindIndex

Searches the collection for a given string. The string contains the name of a video format.

<< Classes