PageDevice

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

ConstructorDescription
PageDevice()

Methods

MethodDescription
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:

ParameterTypeDescription
pagePageThe page to process.
outputcom.aspose.ms.System.IO.StreamThis 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:

ParameterTypeDescription
pagePageThe page to process.
outputjava.io.OutputStreamThis 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:

ParameterTypeDescription
pagePageThe page to process.
outputFileNamejava.lang.StringThis 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:

ParameterTypeDescription
pagePagePage object
grcom.aspose.ms.System.Drawing.Graphicsinternal object