FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport 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 System.Drawing.Imaging.Metafile representing the specified page, or null if the page was not found.
    See Also