ComponentOne FlexReport for WinForms
Rotate View of Reports
Report and Document Viewer (FlexViewer Control) > Rotate View of Reports

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 property of C1FlexViewer class. The RotateView property accepts the following values from the FlexViewerRotateView enum describing the rotation angle of the view:

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 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 enum to rotate view of a report. The following code illustrates the use of FlexViewerRotateView enum:

c1FlexViewer1.RotateView = FlexViewerRotateView.Rotation90Clockwise
c1FlexViewer1.RotateView = FlexViewerRotateView.Rotation90Clockwise;