通过直接读取txt文件,然后生成pdf,再添加文本就可以了. 代码如下: public class Txt2PDF { private static final String FONT = "C:\\Windows\\Fonts\\simhei.ttf"; public ...
確定! 回上一頁