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.