DeviceFrameRates is a collection of frame rates supported by a video capture device. The ICImagingControl.DeviceFrameRates property returns a DeviceFrameRates collection.
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
Property | Description | ||
Count | Returns the number of frame rates in the collection. |
||
Item | Returns the frame rate at the given position. |
||
Method | Description | ||
FindIndex | Returns the index of the supplied frame in the collection. |
||