# Rotate View of Reports

FlexViewer provides you the flexibility to rotate the view of reports to different angles according to your requirements. See more demos, documentation, and samples here.

## 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/docs/win/online-flexreport/) property of [C1FlexViewer](/componentone/docs/win/online-flexreport/) class. The [RotateView](/componentone/docs/win/online-flexreport/) property accepts the following values from the [FlexViewerRotateView](/componentone/docs/win/online-flexreport/) enum describing 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.

### Rotate View of Report at Design Time

You can rotate the view of reports in FlexViewer at design time by performing the following steps:

1.  Right-click on the **FlexViewer** control and select properties.
2.  In **Properties** window, select a value for the [RotateView](/componentone/docs/win/online-flexreport/) property from the provided list to rotate the report at different angles.

### Rotate View of Report Programmatically

To rotate view of a report, at first you need to create and load a report and then preview it in the **FlexViewer** control. After doing so, you can use [FlexViewerRotateView](/componentone/docs/win/online-flexreport/) enum to rotate view of a report. The following code illustrates the use of **FlexViewerRotateView** enum:

**vbnet**

```vbnet
c1FlexViewer1.RotateView = FlexViewerRotateView.Rotation90Clockwise
```

**csharp**

```csharp
c1FlexViewer1.RotateView = FlexViewerRotateView.Rotation90Clockwise;
```

![Rotate view of report](https://cdn.mescius.io/document-site-files/images/fd2ea167-30cb-4938-9938-b740a5b4dd95/images/rotatedview.png)