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)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.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)
在图形上呈现页面
参数:
范围 | 类型 | 描述 |
---|---|---|
page | Page | 页面对象 |
gr | com.aspose.ms.System.Drawing.Graphics | 内部对象 |
process(Page page, OutputStream output)
public void process(Page page, OutputStream output)
在给定页面上执行一些操作,例如将页面转换为图形图像。
参数:
范围 | 类型 | 描述 |
---|---|---|
page | Page | 要处理的页面。 |
output | java.io.OutputStream | 该流包含处理的结果。 |
process(Page page, String outputFileName)
public void process(Page page, String outputFileName)
在给定页面上执行一些操作并将结果保存到文件中。
参数:
范围 | 类型 | 描述 |
---|---|---|
page | Page | 要处理的页面。 |
outputFileName | java.lang.String | 该文件包含处理结果。 |
processInternal(Page page, System.IO.Stream output)
public abstract void processInternal(Page page, System.IO.Stream output)
在给定页面上执行一些操作,例如将页面转换为图形图像。
参数:
范围 | 类型 | 描述 |
---|---|---|
page | Page | 要处理的页面。 |
output | com.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)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long | |
arg1 | int |