ICImagingControl.xxRange Property

These properties can be used to determine the valid range of values for a property. For instance, the BrightnessRange property will return the minimum and maximum brightness values supported by the selected device.
Syntax:
Public xxRange As Variant
Limitations:

Run time only, read only.

Sample:

This example initializes a Slider control with the selected video device's minimum, maximum and current brightness settings:

Private Sub Form_Load()
    Dim Range As Variant
    Range = ICImagingControl1.BrightnessRange
    Slider1.Min = Range(0)
    Slider1.Max = Range(1)
    Slider1.Value = ICImagingControl1.Brightness
End Sub
See also: ICImagingControl, ICImagingControl.xxAuto, ICImagingControl.xxAvailable, ICImagingControl.xxDefault

<< ICImagingControl