ComponentOne Reports for WPF
C1.C1Report Namespace / C1Report Class / GetPageImages Method

In This Topic
    GetPageImages Method (C1Report)
    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 C1Report.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 C1Report.Render method to create or refresh the pages.
    See Also