PageDevice

遗产: java.lang.Object, com.aspose.pdf.devices.Device

public abstract class PageDevice extends Device

用于处理pdf文档特定页面的所有设备的抽象类。

构造函数

构造函数描述
PageDevice()

方法

方法描述
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
process(Page page, System.Drawing.Graphics gr)在图形上呈现页面
process(Page page, OutputStream output)在给定页面上执行一些操作,例如将页面转换为图形图像。
process(Page page, String outputFileName)在给定页面上执行一些操作并将结果保存到文件中。
processInternal(Page page, System.IO.Stream output)在给定页面上执行一些操作,例如将页面转换为图形图像。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PageDevice()

public PageDevice()

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

process(Page page, System.Drawing.Graphics gr)

public void process(Page page, System.Drawing.Graphics gr)

在图形上呈现页面

参数:

范围类型描述
pagePage页面对象
grcom.aspose.ms.System.Drawing.Graphics内部对象

process(Page page, OutputStream output)

public void process(Page page, OutputStream output)

在给定页面上执行一些操作,例如将页面转换为图形图像。

参数:

范围类型描述
pagePage要处理的页面。
outputjava.io.OutputStream该流包含处理的结果。

process(Page page, String outputFileName)

public void process(Page page, String outputFileName)

在给定页面上执行一些操作并将结果保存到文件中。

参数:

范围类型描述
pagePage要处理的页面。
outputFileNamejava.lang.String该文件包含处理结果。

processInternal(Page page, System.IO.Stream output)

public abstract void processInternal(Page page, System.IO.Stream output)

在给定页面上执行一些操作,例如将页面转换为图形图像。

参数:

范围类型描述
pagePage要处理的页面。
outputcom.aspose.ms.System.IO.Stream该流包含处理的结果。

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int