DeviceFrameRates

DeviceFrameRates is a collection of frame rates supported by a video capture device. The ICImagingControl.DeviceFrameRates property returns a DeviceFrameRates collection.

Example

This example shows how to fill a combo box with the available frame rates:

Dim FrameRateCol As DeviceFrameRates ' Declare the collection
Dim Rate As Variant                  ' Used as item in For Each...

Set FrameRateCol = ICImagingControl1.DeviceFrameRates

' Insert the frame rates in a combo box
For Each Rate In FrameRateCol
    cboFramerateComboBox.AddItem Str(Rate)
Next

Properties

Property Description
Count

Returns the number of frame rates in the collection.

Item

Returns the frame rate at the given position.

Methods

Method Description
FindIndex

Returns the index of the supplied frame in the collection.

<< Classes