ComponentOne PdfViewer for UWP
C1.UWP.PdfViewer Assembly / C1.Xaml.PdfViewer Namespace / C1PdfViewer Class / GetPage Method / GetPage(Int32,Size) Method
The number of the page to get.
The Size of Paper

In This Topic
    GetPage(Int32,Size) Method
    In This Topic
    Returns a copy of the FrameworkElement that represent a specified document page.
    Syntax
    'Declaration
     
    Public Overloads Function GetPage( _
       ByVal pageNumber As System.Integer, _
       ByVal paperSize As Windows.Foundation.Size _
    ) As System.Threading.Tasks.Task(Of FrameworkElement)
    public System.Threading.Tasks.Task<FrameworkElement> GetPage( 
       System.int pageNumber,
       Windows.Foundation.Size paperSize
    )

    Parameters

    pageNumber
    The number of the page to get.
    paperSize
    The Size of Paper

    Return Value

    A copy of the FrameworkElement that represent a specified document pages.
    Remarks
    This method is provided for print functionality when RenderMode = System. If invoke this method when RenderMode = Default, the second parameter has no significance, in this case, We suggest to use Method GetPage(pageNumber).
    See Also