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)
Performs some operation on the given page, e.g. converts page into graphic image.
|
void |
process(Page page,
String outputFileName)
Performs some operation on the given page and saves results into the file.
|
abstract void |
processInternal(Page page,
com.aspose.ms.System.IO.Stream output)
Performs 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)
Performs 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)
Performs 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, String outputFileName)
Performs 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
- Page objectgr
- internal object