This property sets the angle of rotation for the scanned image.

[Visual Basic] Public WriteOnly Property Rotation As Integer
[C#] public int Rotation {set;}

Property Value

From -360 degrees to 360 degrees
Default value is 0.

Explanation

The Rotationproperty sets the angle of rotation for the scanned image. Positive values rotate the image in a clockwise direction. Negative values rotate the image in a counter clockwise direction.

This property is enabled when the UserInterface property is set to Suppress. The Rotation property is similiar to the Orientation property but when the Orientation property will only accept a value of 0 (ScanOrientation.Rotate0) then use the Rotation property instead.

Some scan devices support both Orientation and Rotation. Depending on the scan device, BOTH property values are used to rotate the image (resulting in a "double rotation") or only the Rotation property value is enabled and the Orientation value is ignored. In such cases, it is recommended to set the Rotation property to values other than zero and set the Orientation property to 0 (ScanOrientation.Rotate0).

If the Orientation property is set to 1000 (ScanOrientation.TextOrientationRecognition), if the datasource is a digital camera, of if the scan device does not support rotation, then the Rotation property is disabled. The possible setting values supported by a scan device can be retrieved using the GetCapabilityEnumToSingle method or the GetCapabilityRange method.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation