Click or drag to resize
Pdf Library for .NET

PdfPageRotation Enumeration

Standard clockwise rotation angles that can be applied to a PDF page through Rotation.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public enum PdfPageRotation
Members
Member nameValueDescription
Rotate_00 0 degrees rotation.
Rotate_9090 90 degrees rotation.
Rotate_180180 180 degrees rotation.
Rotate_270270 270 degrees rotation.
Example
// Rotate the first page of a document 90 degrees clockwise.
PdfDocument document = new PdfDocument();
PdfPage page = document.AddPage();
page.Rotation = PdfPageRotation.Rotate_90;
document.Save("rotated.pdf");
document.Close();
See Also