Skip to content
ComPDF
DemoSampleAPI ReferenceFAQ
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

Rotate Pages

This example shows how to rotate pages:

C#
// Rotate the first page 90 degrees clockwise, with each unit of rotation representing a 90-degree clockwise turn.
document.RotatePage(0, 1);