HueControl
Top  Previous  Next

Description

Returns or sets the hue control mode. The values from -1 to 2 correspond to the following modes:

-1 - Off  
   The hue control is disabled  
0 - Manual  
The hue level is controlled by the value of the Hue property  
1 - Auto  
The camera controls the hue level by itself continuously  
2 - One push  
The camera sets the optimal hue level by itself and returns to the manual mode  


Syntax


[VB]
objActiveDcam.HueControl [= Value]


[C/C++]
HRESULT get_HueControl( short *pHueControl );
HRESULT put_HueControl( short HueControl );



Data Type
[VB]

Integer

Parameters
[C/C++]

pHueControl [out, retval]  
Pointer to the current hue control mode  
HueControl [in]  
The hue control mode to be set  

Return Values


S_OK  
Success  
E_FAIL  
The hue control is not available for the selected camera  
 

Example


The following VB example demonstrates the use of a checkbox to switch between the manual and automatic hue control.

Private Sub
 Check1_Click()
If
 Check1.Value = 1 
Then

ActiveDcam1.HueControl = 1
Else

ActiveDcam1.HueControl = 0
End If

End Sub

 

Remarks


The property is available only if the currently selected camera supports automatic hue control.