GetIrisMax
Top  Previous  Next

Description

Returns the maximum value of the Iris property.


Syntax


[VB]
Value=objActiveDcam.GetIrisMax()


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


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out,retval]  
Pointer to the maximum iris value  


Return Values


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

Example


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

Private Sub
 Form_Load()

Slider1.Min = ActiveDcam1.GetIrisMin
Slider1.Max = ActiveDcam1.GetIrisMax
Slider1.Value = ActiveDcam1.Iris
End Sub

 

Remarks


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