objActiveDcam.Iris [= Value] [C/C++]
HRESULT get_Iris( long *pIris );
HRESULT put_Iris( long Iris );
Data Type [VB]
Pointer to the current iris value
The iris value to be set
The iris 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 iris.
Private SubForm_Load() ActiveDcam1.Acquire=True HScroll1.Value = ActiveDcam1.Iris
HScroll1.Min = ActiveDcam1.GetIrisMin
HScroll1.Max = ActiveDcam1.GetIrisMax
Private SubHScroll1_Scroll() ActiveDcam1.Iris = HScroll1.Value End Sub
This property changes the opening of the lens diaphragm. The valid property range is reported by the GetIrisMin and GetIrisMax methods. Note that the property is available only if the currently selected camera is equipped with a motorized lens and supports software iris control.