IC Imaging Control ActiveX

DeviceFrameRates.Item Property

DeviceFrameRates.Item Property

Returns the frame rate at the given position.
Public Item(Index As Long) As Single
Parameter Description

Specifies the Index of the rate to return. The Index must lie in the range [1, DeviceFrameRates.Count ], otherwise an error occurs.


Read only.


This example selects a frame rate:

Private Sub lstFrameRateList_Click()
    Dim SelectedRate As Integer
    Dim DevFrameRateCol As DeviceFrameRates

    ' Get the DeviceFrameRates collection from ICImagingControl.
    Set DevFrameRateCol = ICImagingControl1.DeviceFrameRates

    ' Get the selected frame rate from the combo box.
    SelectedRate = lstFrameRateList.ListIndex + 1

    ' Stop the grabber before setting the new frame rate.

    ' Now set the new frame rate.
    ICImagingControl1.DeviceFrameRate = DevFrameRateCol.Item(SelectedRate)

End Sub
See also: DeviceFrameRates, DeviceFrameRates.Count

<< DeviceFrameRates

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us