set Rotation Offset
Applies a temporary rotation to the specified page of this document. This will change the size reported by the document to match the new rotation. The document will not be modified by this. If you plan on applying a rotation to multiple pages use setRotationOffsets.
Parameters
page Rotation
One of NO_ROTATION, ROTATION_90, ROTATION_180, ROTATION_270.
page Index
The page to apply the rotation to.