# Rotation

**RadPdfViewer** provides functionality for rotating the pages of the loaded document. You can programmatically rotate the document pages through the **RadPdfViewer** class.

![WinForms RadPdfViewer Rotation](https://www.telerik.com/products/winforms/documentation/assets/4b323e0f521ddd1c46c933985c19ad52/pdfviewer-ui-rotation001.png)

## Rotation Using RadPdfViewer

**RadPdfViewer** has a **Rotate()** method intended to rotate the pages of the loaded document at the specified angle relative to its initial position. The method takes a single argument of type **RotationAngle**. Alternatively, you can use the **RotationAngle** property.

**RotationAngle** is an enumeration that specifies the angle at which the document should be rotated. The possible values are *Degrees0*, *Degrees90*, *Degrees180*, *Degrees270*.

#### RotationAngle

```C#
this.radPdfViewer1.Rotate(Telerik.WinControls.UI.RotationAngle.Degrees90);
```

```VB.NET
Me.RadPdfViewer1.Rotate(RotationAngle.Degrees90)
```

The current angle at which the pages are rotated can be retrieved using the read-only **RotationAngle** property of **RadPdfViewer**.
