document.open(); // itext 显示中文 使用Windows系统字体(TrueType) BaseFont baseFont = BaseFont.createFont(“C:/Windows/Fonts/SIMYOU.TTF”, BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED); Font font = new Font(baseFont); pdfPCell cell = new PdfPCell(new Phrase(“序号”, font));
1200字范文,内容丰富有趣,写作的好帮手!