# Rotate Documents

## Content

FlexViewer provides you the flexibility to rotate the view of reports to different angles according to your requirements. To rotate view of a report to various degrees of rotation, you can set the [RotateView](/componentone/api/winui/online-winui/dotnet-api/C1.WinUI.Viewer/C1.WinUI.Viewer.FlexViewer.RotateView.html) property of [FlexViewer](/componentone/api/winui/online-winui/dotnet-api/C1.WinUI.Viewer/C1.WinUI.Viewer.FlexViewer.html) class. The **RotateView** property accepts the following values from the [FlexViewerRotateView](/componentone/api/winui/online-winui/dotnet-api/C1.WinUI.Viewer/C1.WinUI.Viewer.FlexViewerRotateView.html) enumeration which describes the rotation angle of the view:

* **NoRotation**: Rotation is not applied to the view.
* **Rotation180**: Allows rotation of the view by 180 degrees.
* **Rotation90Clockwise**: Allows rotation of the view by 90 degrees in clockwise direction.
* **Rotation90CounterClockwise**: Allows rotation of the view by 90 degrees in counter-clockwise direction.

![Flexviewer Rotation](https://cdn.mescius.io/document-site-files/images/2d49eac2-0942-4770-99ef-52b14e6815bd/images/flexviewer-rotation.png?width=500)

## Rotate View of Report at Runtime

At runtime, you can rotate the view of a report in clockwise or anti-clockwise direction from the View dropdown list on the top right corner of the FlexViewer control.

## Rotate View of Report Programmatically

To rotate view of a report, use the **RotateView** property as shown in the following code:

**xml**

```xml
<c1:FlexViewer Name="fv" RotateView="Rotation90Clockwise" Height="600" Width="900" VerticalAlignment="Top"></c1:FlexViewer>
```

**csharp**

```csharp
fv.RotateView = FlexViewerRotateView.Rotation90Clockwise
```

## **Usability and Navigation**

FlexViewer enhances usability through smooth navigation, flexible zooming, and keyboard shortcuts.
**Keyboard Shortcuts Table**

| **Action** | **Shortcut** |
| ------ | -------- |
| Adjust the view | Ctrl + Mouse Wheel or Ctrl + Plus/Minus keys |
| Select All Text | Ctrl + A |
| Copy Selected Text | Ctrl + C |
| Alternative Copy | Ctrl + Insert |
| Open Search | Ctrl + F |
| Find Next | F3 |
| Find Previous | Shift + F3 |
| Navigate Back | Left Alt |
| Navigate Forward | Right Alt |
| Scroll Up / Left | Arrow Up / Left |
| Scroll Down / Right | Arrow Down / Right |
| Page Up | Page Up |
| Page Down | Page Down |
| Jump to Start | Home |
| Jump to End | End |

>type=note
> **Note**: FlexViewer allows users to preview documents without its built-in functionalities by using the FlexViewerPane control. It displays only the document content area, making it ideal for applications that require a clean layout with custom toolbars or navigation controls.