The leading provider of version control solutions and TWAIN SDKs
  • Contact us









Roll Property

Description

Returns or sets the roll 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. Roll


Remarks

Using this property after calling OpenSource() method and before calling AcquireImage().

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

RollMinValue property, RollMaxValue property, RollStepDelta property, RollDefaultValue property, IfAutoRoll property

Sample

A JavaScript sample is provided.

<script language="javascript">

	function btnManageRoll_onclick() {

            Webcam.OpenSource(); 

            Roll = Webcam.Roll;	//get the Roll value
            RollMinValue = Webcam.RollMinValue;//get the minimum Roll value
            RollMaxValue = Webcam.RollMaxValue;//get the maximum Roll value
            RollDefaultValue = Webcam.RollDefaultValue;//get the default Roll value
            RollStepDelta = Webcam.RollStepDelta;//get the Roll step delta
	
            Webcam.Roll = 1;//change the Roll value to 1
            Roll = Webcam.Roll;	//get the Roll value

	}

</script>