Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / GetPageImage Method
0-based page index.

In This Topic
    GetPageImage Method
    In This Topic
    Gets a metafile representing the specified page. Use this method rather than the PageImages collection as accessing that property creates images for all pages at once and thus can exhaust system resources.
    Syntax
    'Declaration
     
    Public Function GetPageImage( _
       ByVal pageIndex As Integer _
    ) As Metafile
    public Metafile GetPageImage( 
       int pageIndex
    )

    Parameters

    pageIndex
    0-based page index.

    Return Value

    The metafile representing the page.
    Remarks
    You must call the Render method to create or refresh the pages.
    See Also