Rotates the specified pages.
DocumentPages.prototype.rotate = function(
angle,
firstPageNumber,
lastPageNumber
)
rotate(
angle: number,
firstPageNumber: number,
lastPageNumber: number
): void;
angle
Rotation angle in degrees. Positive values will rotate the pages clockwise and negative values will rotate the pages counter-clockwise. Must be an increment of 90 degrees.
firstPageNumber
1-based first page number in the document. This value must be greater than or equal to 1.
lastPageNumber
1-based last page number in the document. This value must be greater or equal to firstPageNumber. A value of -1 means the last page in the document.
This method loops through all the pages specified and calls DocumentPage.rotate. For more information, refer to Document Page Transformation.
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