Scanner ActiveX Control

Rotate

 

It specifies the direction of an image's rotation and the axis used to flip the image.
 

Public Function Rotate( _
   ByVal iValue As Integer, _
)

 

Parameter

iValue
0 - 90-degree rotation without flipping
1 - 180-degree rotation without flipping
2 - 270-degree rotation without flipping
3 - no rotation and a horizontal flip
4 - 90-degree rotation followed by a horizontal flip
5 - 180-degree rotation followed by a horizontal flip
6 - 270-degree rotation followed by a horizontal flip
7 - no rotation and a vertical flip
8 - 90-degree rotation followed by a vertical flip
9 - 180-degree rotation followed by a vertical flip
10 -270-degree rotation followed by a vertical flip
 

No Return Value

Example

   

Visual Basic Syntax
Scanner1.Rotate 7 ' no rotation and a vertical flip