Image Viewer CP ActiveX Control

RotateMultiPageOnly

 

Rotate specific pages of multipage TIFF or PDF file.
 

Public Function RotateMultiPageOnly( _
   ByVal iPage As Integer, _
   ByVal iRotateType As Integer
)

 

Parameter

iPage
the specific page no. for rotation. The first page is zero index.

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

No Return Value

Example

   

Visual Basic Syntax
ImageViewer1.FileName="c:\test1.tif"
ImageViewer1.RotateMultiPageOnly 0,1