Skip to content
Guides

Rotate Pages

This example shows how to rotate pages:

swift
let page = document?.page(at: 0)
// Rotate the first page 90 degrees clockwise
page?.rotation += 90
objective-c
CPDFPage *page = [document pageAtIndex:0];
// Rotate the first page 90 degrees clockwise
page.rotation += 90;