ICImagingControl.Hue Property

Returns or sets the hue value of the current video source.
Syntax:
Public Hue As Long
Sample:

This example initializes a Slider control with the selected video device's minimum, maximum and current hue settings. When the slider is moved, the video device's hue value is updated accordingly:

Private Sub Form_Load()
    Dim Range As Variant
    Range = ICImagingControl1.HueRange
    Slider1.Min = Range(0)
    Slider1.Max = Range(1)
    Slider1.Value = ICImagingControl1.Hue
End Sub
Private Sub Slider1_Scroll()
    ICImagingControl1.Hue = Slider1.Value
End Sub
See also: ICImagingControl, ICImagingControl.HueAvailable, ICImagingControl.HueRange, ICImagingControl.HueAutoAvailable, ICImagingControl.HueAuto, ICImagingControl.HueDefault

<< ICImagingControl

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, TX Text Control Blog and Forums.