[]
        
(Showing Draft Content)

Rotate Documents

FlexViewer supports rotating document pages at run time or programmatically.

Rotation Modes

Use the RotateView property to control page rotation.

The RotateView property accepts values from the FlexViewerRotateView enumeration.

Value

Description

NoRotation

Does not apply rotation to the document view.

Rotation180

Rotates the document view 180 degrees.

Rotation90Clockwise

Rotates the document view 90 degrees clockwise.

Rotation90CounterClockwise

Rotates the document view 90 degrees counterclockwise.

Rotate Documents at Run Time

Document pages can be rotated from the View menu in the FlexViewer toolbar.

The following rotation operations are supported:

  • Rotate Clockwise

  • Rotate Counterclockwise

Rotation is applied consistently across all pages in the document.

image-20260505-113213

Rotate Documents Programmatically

To rotate document pages programmatically, set the RotateView property.

XAML

<c1:FlexViewer x:Name="flexViewer" Grid.Row="1" Grid.ColumnSpan="2" RotateView="Rotation90Clockwise"/>

C#

flexViewer.RotateView = FlexViewerRotateView.Rotation180;