Class PdfPageRotation
PageRotation setting of a PDF page
Inheritance
Namespace: IronPdf.Rendering
Assembly: IronPdf.dll
Syntax
public sealed class PdfPageRotation : Enum
The PdfPageRotation enumeration in IronPDF sets the rotation applied to a PDF page.
Part of the IronPdf.Rendering namespace, declared values are None, Clockwise90, Clockwise180, and Clockwise270 (4 total). Apply a value via PdfDocument.SetPageRotation, SetPageRotations, or SetAllPageRotations to rotate scanned or landscape source pages without re-rendering.
See page orientation and rotation for typical C# usage.
Fields
Clockwise180
Page is rotate 180 degrees clockwise
Declaration
public const PdfPageRotation Clockwise180
Field Value
| Type | Description |
|---|---|
| PdfPageRotation |
Clockwise270
Page is rotated 270 degrees clockwise
Declaration
public const PdfPageRotation Clockwise270
Field Value
| Type | Description |
|---|---|
| PdfPageRotation |
Clockwise90
Page is rotated 90 degrees clockwise
Declaration
public const PdfPageRotation Clockwise90
Field Value
| Type | Description |
|---|---|
| PdfPageRotation |
None
Page is not rotated
Declaration
public const PdfPageRotation None
Field Value
| Type | Description |
|---|---|
| PdfPageRotation |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |