Skip to main content

Organize PDF pages

Rotate selected PDF pages

Rotate selected PDF pages by 90, 180, or 270 degrees, create a separate output document, and preserve the original browser-selected file.

Practical steps

Rotate selected pages in a PDF copy

Resolve the selected pages, apply a supported clockwise rotation, and write a separate PDF.

  1. SelectChoose one PDF and enter pages such as 1,3-5,last.
  2. RotateChoose 90, 180, or 270 degrees.
  3. DownloadCreate the rotated PDF and review the resolved selector in the report.

Rotation updates the selected pages in a newly written document. It is intended for sideways scans, mixed-orientation packets, and deterministic publishing workflows.

Rotate from .NET

using OfficeIMO.Pdf;

PdfDocument source = PdfDocument.Open("scans.pdf");
PdfPageSelector pages = PdfPageSelector.Parse("1,3-5,last");
PdfDocument rotated = source.Pages.Rotate(90, pages);

File.WriteAllBytes("scans.rotated.pdf", rotated.ToBytes());

The browser report records the resolved selector, source and output page counts, and rotation angle. The source file is never overwritten.

Rotation is not page reflow

This operation changes page orientation metadata and page-space presentation. It does not reinterpret text, crop content, deskew scanned images, or rebuild the document layout. Image deskewing and OCR require different processing contracts.