PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
This example shows how to rotate pages:
let page = document?.page(at: 0)
// Rotate the first page 90 degrees clockwise
page?.rotation += 90CPDFPage *page = [document pageAtIndex:0];
// Rotate the first page 90 degrees clockwise
page.rotation += 90;