FlexReport for WPF | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report Namespace / FlexReport Class / GetPageImage Method / GetPageImage(Int32,Graphics) Method
The index of the page.
The reference graphics used to get device context for metafile.

In This Topic
    GetPageImage(Int32,Graphics) Method
    In This Topic
    Returns a System.Drawing.Imaging.Metafile representing the specified page.
    Syntax
    'Declaration
     
    Public Overloads Function GetPageImage( _
       ByVal pageIndex As Integer, _
       ByVal referenceGraphics As Graphics _
    ) As Metafile
    public Metafile GetPageImage( 
       int pageIndex,
       Graphics referenceGraphics
    )

    Parameters

    pageIndex
    The index of the page.
    referenceGraphics
    The reference graphics used to get device context for metafile.

    Return Value

    The Metafile representing the specified page, or null if the page was not found.
    See Also