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