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









Tilt Property

Description

Returns or sets the tilt 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. Tilt


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

TiltMinValue property, TiltMaxValue property, TiltStepDelta property, TiltDefaultValue property, IfAutoTilt property

Sample

A JavaScript sample is provided.

<script language="javascript">

	function btnManageTilt_onclick() {

            Webcam.OpenSource(); 

            Tilt = Webcam.Tilt;	//get the Tilt value
            TiltMinValue = Webcam.TiltMinValue;//get the minimum Tilt value
            TiltMaxValue = Webcam.TiltMaxValue;//get the maximum Tilt value
            TiltDefaultValue = Webcam.TiltDefaultValue;//get the default Tilt value
            TiltStepDelta = Webcam.TiltStepDelta;//get the Tilt step delta
	
            Webcam.Tilt = 1;//change the Tilt value to 1
            Tilt = Webcam.Tilt;	//get the Tilt value

	}

</script>