Image Viewer CP ActiveX Control

PDFEditRotate

 

Rotating specific page to 90,180,270 degrees.
 

Public Function PDFEditRotate( _
   ByVal strSourceFile  As String, _
   ByVal strOutputFile  As String, _
   ByVal iPage As Integer, _
   ByVal iRotateAngle As Integer
)
 As Bool

 

Parameter

strSourceFile
The source of PDF File.

strOutputFile
The output of PDF File.

iPage
Specifies the page to rotating. The first page is 0.

iRotateAngle
Specifies the rotating degrees, the value is 0, 90, 180, 270.

Return Value
Return true if successful, otherwise return false.


Example

   

Visual Basic Syntax
ImageViewer1.PDFEditRotate "c:\sourcepdf.pdf", "c:\output.pdf" ,0, 90