GetHueMin
Top  Previous  Next

Description

Returns the minimum value of the Hue property.


Syntax


[VB]
Value=objActiveDcam.GetHueMin()


[C/C++]
HRESULT GetHueMin(long* pValue );


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out, retval]  
Pointer to the minimum hue value  


Return Values


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

Example


This VB example uses the minimum and maximum hue values to initialize the slider control:

Private Sub
 Form_Load()

Slider1.Min = ActiveDcam1.GetHueMin
Slider1.Max = ActiveDcam1.GetHueMax
Slider1.Value = ActiveDcam1.Hue
End Sub

 

Remarks


If the currently selected camera doesn't support software hue control, the method will generate an error.