ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / GetPageImagesAsync Method
How to scale the document to fit the pages.
Size of the pages in pixels.
Margin around the page in pixels.
The maximum number of pages to print.
Indicates whether page info like a page number/count should be added to the generated images.
Clean up the memory space of the previous page when printing.

In This Topic
    GetPageImagesAsync Method
    In This Topic
    Gets all images. This method doesn't block the calling thread.
    Syntax
    'Declaration
     
    
    Public Sub GetPageImagesAsync( _
       ByVal scaleMode As ScaleMode, _
       ByVal pageSize As Size, _
       ByVal margin As Thickness, _
       ByVal maxPages As Integer, _
       ByVal showPageInfo As Boolean, _
       Optional ByVal cleanMemory As Boolean _
    ) 

    Parameters

    scaleMode
    How to scale the document to fit the pages.
    pageSize
    Size of the pages in pixels.
    margin
    Margin around the page in pixels.
    maxPages
    The maximum number of pages to print.
    showPageInfo
    Indicates whether page info like a page number/count should be added to the generated images.
    cleanMemory
    Clean up the memory space of the previous page when printing.
    See Also