PageDevice
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.devices.Device
public abstract class PageDevice extends Device
Abstract class for all devices which is used to process certain page the pdf document.
Constructors
Constructor | Description |
---|---|
PageDevice() |
Methods
Method | Description |
---|---|
processInternal(Page page, System.IO.Stream output) | Performs some operation on the given page, e.g. |
process(Page page, OutputStream output) | Performs some operation on the given page, e.g. |
process(Page page, String outputFileName) | Performs some operation on the given page and saves results into the file. |
process(Page page, System.Drawing.Graphics gr) | Renders page on the graphics |
PageDevice()
public PageDevice()
processInternal(Page page, System.IO.Stream output)
public abstract void processInternal(Page page, System.IO.Stream output)
Performs some operation on the given page, e.g. converts page into graphic image.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The page to process. |
output | com.aspose.ms.System.IO.Stream | This stream contains the results of processing. |
process(Page page, OutputStream output)
public void process(Page page, OutputStream output)
Performs some operation on the given page, e.g. converts page into graphic image.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The page to process. |
output | java.io.OutputStream | This stream contains the results of processing. |
process(Page page, String outputFileName)
public void process(Page page, String outputFileName)
Performs some operation on the given page and saves results into the file.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The page to process. |
outputFileName | java.lang.String | This file contains the results of processing. |
process(Page page, System.Drawing.Graphics gr)
public void process(Page page, System.Drawing.Graphics gr)
Renders page on the graphics
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | Page object |
gr | com.aspose.ms.System.Drawing.Graphics | internal object |