Gets all images. This method doesn't block the calling thread.
Syntax
'Declaration
Public Sub GetPageImagesAsync( _
ByVal As ScaleMode, _
ByVal As System.Windows.Size, _
ByVal As System.Windows.Thickness, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
Optional ByVal As System.Boolean _
)
public void GetPageImagesAsync(
ScaleMode ,
System.Windows.Size ,
System.Windows.Thickness ,
System.int ,
System.bool ,
System.bool
)
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