FlexViewerPane > Rotate View of Reports |
FlexViewerPane 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 C1FlexViewerPane class. The RotateView property accepts the following values from the FlexViewerRotateView enum describing the rotation angle of the view:
The following code uses of FlexViewerRotateView enum for rotating the view of the report by 90 degree clockwise. This example uses sample created in FlexReport Quick Start.
ViewerPane.RotateView = FlexViewerRotateView.Rotation90Clockwise
ViewerPane.RotateView = FlexViewerRotateView.Rotation90Clockwise;
Similarly, you can rotate the view of a report by 90 degrees in counter-clockwise direction and 180 degrees.