【发布时间】:2013-09-21 20:58:53
【问题描述】:
我正在实现 PdfPageEventHelper 事件和页脚内容如下:
ColumnText.showTextAligned(cb, Element.ALIGN_RIGHT, new Phrase(String.format(" %d ",
writer.getPageNumber()),footerFont),
document.right() - 2 , document.bottom() - 20, 0);
现在,我有 3 行需要添加到页脚中,但我找不到设置其垂直边距的最佳方法。 (每 3 行有不同的字体大小)。 应该为 - document.bottom() - XXX 保留什么??
【问题讨论】: