Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / GetPageImages Method

In This Topic
    GetPageImages Method
    In This Topic
    Enumerates page images (represented by metafiles) of the generated report. Using this method in a "foreach" loop allows to iterate over all pages of a large report without exhausting system resources. This approach is preferable to PageImages property that creates images for all pages and can consume a large amount of resources.
    Syntax
    'Declaration
     
    Public Function GetPageImages() As IEnumerable(Of Metafile)
    public IEnumerable<Metafile> GetPageImages()

    Return Value

    An IEnumerable that allows to iterate over the page images.
    Remarks
    You must call the Render method to create or refresh the pages.
    See Also