rotate
Rotates all images (and previews) of the given page x times. The original image is required, other images (document, unfiltered document) are optional. The direction of rotation is counterclockwise if the times value is positive and clockwise if times value is negative (e.g. -2 = rotates 2 times to the right).
Return
new Page instance with the rotated Page.polygon field
Parameters
page
Existing page with at least the original image.
times
Rotate x times
Throws
If the original image does not exists for Page
If there is a problem with acces to image bitmap.