PdfViewer for WinRT > PdfViewer Features > View Modes |
The C1PdfViewer features multiple viewing modes so you can view documents at any scale. Users can set the zoom level to fit the page into view. View just 1 page or view multiple pages depending upon the boundary.
You can determine how you want your pages to fit across the screen given the page height through the ViewModes property. The ViewMode property includes the following options:
The following Xaml markup shows how to set the ViewMode of the control so that the entire width of a PDF will be displayed in the control:
XAML |
Copy Code
|
---|---|
<PdfViewer:C1PdfViewer x:Name="pdfViewer" ViewMode="FitWidth" Grid.Row="1" Grid.ColumnSpan="2"/> |
When the FitWidth option is used and the Orientation is set to Horizontal you can display more than two or less than two pages depending on the boundary.