Rotate one or more pages in an existing PDF file.
public void RotatePages(
int[] angles,
int firstPageNumber,
int lastPageNumber,
string destinationFileName
)
public:
void RotatePages(
array<int>^ angles,
int firstPageNumber,
int lastPageNumber,
String^ destinationFileName
)
public void rotatepages(
int[] int[Value,
int intValue,
int intValue2,
java.lang.String string
);
def RotatePages(self,angles,firstPageNumber,lastPageNumber,destinationFileName):
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.
For an example, to rotate pages 1 through 10 (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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document