←Select platform

Rotatepages Method (PDFFile)

Summary

Rotate one or more pages in an existing PDF file.

Syntax

C#
VB
C++
public void Rotatepages( 
   int[] angles, 
   int firstPageNumber, 
   int lastPageNumber, 
   string destinationFileName 
) 
Public Sub Rotatepages( 
   ByVal angles() As Integer, 
   ByVal firstPageNumber As Integer, 
   ByVal lastPageNumber As Integer, 
   ByVal destinationFileName As String 
) 
public:  
   void Rotatepages( 
      array<int>^ angles, 
      int firstPageNumber, 
      int lastPageNumber, 
      String^ destinationFileName 
   ) 

Parameters

angles

Rotation angles for each page specified. Angles are in degrees and must be multiple of 90. Positive values will rotate the page clock-wise while

negative values will rotate the page counter clock-wise.

firstPageNumber

First page number to rotate.

lastPageNumber

Last page number to rotate.

destinationFileName

Name of the destination PDF file to be created. If the value of this parameter is null then the filename

set in FileName will be updated.

Remarks

For an example, to rotate pages 1 through 9 (total of 10 pages) in an existing PDF file by 90 degrees, create an array of 10 integers each initialized with a value of 90, then call this method.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Pdf Assembly
Click or drag to resize