ComponentOne PdfViewer for UWP
Key Features / View Modes
In This Topic
    View Modes
    In This Topic

    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 ViewMode property. The ViewMode property includes the following options from the ViewMode enumeration:

    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.