PngDevice

Overview

PngDevice 是一个类在Java的FOSS中. 继承人: PageDevice.

将PDF页面转换为PNG格式.

这个类提供了4种方法,用于在Java程序中使用PngDevice对象. 有的方法包括: PngDevice, getResolution, process. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: resolution.

Properties

NameTypeAccessDescription
resolutionResolutionRead返回该设备使用的分辨率.

Methods

SignatureDescription
PngDevice(resolution: Resolution)创建一个 PNG 设备,给定分辨率.
PngDevice(width: int, height: int, resolution: Resolution)创建一个具有明确尺寸和分辨率的PNG设备.
process(page: Page, output: OutputStream)呈现一个页面并将结果写入输出流.
getResolution()Resolution返回该设备使用的分辨率.

See Also

 中文