objActiveDcam.Hue [= Value] [C/C++]
HRESULT get_Hue( long *pHue );
HRESULT put_Hue( long Hue );
Data Type [VB]
Pointer to the current hue value
The hue value to be set
The hue control is not available for the selected camera
The value is out of range
The following VB example demonstrates the use of a Scroll control for real-time adjustment of the camera's hue.
Private SubForm_Load() ActiveDcam1.Acquire=True HScroll1.Value = ActiveDcam1.Hue
HScroll1.Min = ActiveDcam1.GetHueMin
HScroll1.Max = ActiveDcam1.GetHueMax
Private SubHScroll1_Scroll() ActiveDcam1.Hue = HScroll1.Value End Sub
This property changes the global shitf of the color tint. The valid property range is reported by the GetHueMin and GetHueMax methods. Note that the property is available only if the currently selected camera is a color one and supports software hue control.