Skip to content
Guides

Rotate Pages

This example shows how to rotate pages:

java
//  Rotate the first page 90 degrees clockwise.
document.pageAtIndex(0).setRotation(90);
kotlin
//  Rotate the first page 90 degrees clockwise.
document.pageAtIndex(0).rotation = 90