Iris Property
Description
Returns or sets the iris value available within the Source. This is a runtime property.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V8.0 | Since V8.0 | Not Supported |
Data type
Long.
Syntax
ObjectName. Iris
Remarks
Read-write property. Prior to negotiating Iris, OpenSource() needs to be called to make Webcam ready for Iris negotiation.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.
See also
IrisMinValue property, IrisMaxValue property, IrisStepDelta property, IrisDefaultValue property, IfAutoIris property
Sample
A JavaScript sample is provided.
<script language="javascript">
function btnManageIris_onclick() {
Webcam.OpenSource();
Iris = Webcam.Iris; //get the Iris value
IrisMinValue = Webcam.IrisMinValue;//get the minimum Iris value
IrisMaxValue = Webcam.IrisMaxValue;//get the maximum Iris value
IrisDefaultValue = Webcam.IrisDefaultValue;//get the default Iris value
IrisStepDelta = Webcam.IrisStepDelta;//get the Iris step delta
Webcam.Iris = 1;//change the Iris value to 1
Iris = Webcam.Iris; //get the Iris value
}
</script>
Copyright © 2012 Dynamsoft Corporation.All Rights Reserved.
