[]
        
(Showing Draft Content)

Zoom Documents

FlexViewer supports multiple zoom options and allows users to adjust document magnification at run time or programmatically.

Zoom Modes

Use the ZoomMode property to control document magnification.

The ZoomMode property accepts values from the FlexViewerZoomMode enumeration.

Value

Description

ActualSize

Displays pages at their actual size.

Custom

Uses the ZoomFactor property to control zoom level manually.

PageWidth

Fits the page width within the viewer.

WholePage

Fits the entire page within the viewer.

Zoom Documents at Run Time

Zoom options are available from the View menu in the FlexViewer toolbar.

The following zoom operations are supported:

  • Actual Size

  • Page Width

  • Whole Page

  • Ctrl + Mouse Wheel

  • keyboard shortcuts

Note: Keyboard shortcuts for zoom operations are currently supported only on Android.

Zoom Documents Programmatically

To set the zoom mode programmatically, use the ZoomMode property.

XAML

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

C#

flexViewer.ZoomMode = FlexViewerZoomMode.WholePage;

 

Performance Considerations

Large or graphics-intensive documents may affect scrolling and rendering performance, particularly on low-memory devices.