public abstract class PageDevice extends Device
Abstract class for all devices which is used to process certain page the pdf document.
Constructor and Description |
---|
PageDevice() |
Modifier and Type | Method and Description |
---|---|
void |
process(Page page,
com.aspose.ms.System.Drawing.Graphics gr)
renders page on the graphics
|
void |
process(Page page,
OutputStream output) |
void |
process(Page page,
String outputFileName)
Perfoms some operation on the given page and saves results into the file.
|
abstract void |
processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Perfoms some operation on the given page, e.g. converts page into graphic image.
|
public abstract void processInternal(Page page, com.aspose.ms.System.IO.Stream output)
Perfoms some operation on the given page, e.g. converts page into graphic image.
page
- The page to process.output
- This stream contains the results of processing.public void process(Page page, OutputStream output)
public void process(Page page, String outputFileName)
Perfoms some operation on the given page and saves results into the file.
page
- The page to process.outputFileName
- This file contains the results of processing.public void process(Page page, com.aspose.ms.System.Drawing.Graphics gr)
renders page on the graphics
page
- gr
- Copyright © 2018 Aspose. All Rights Reserved.