PDF 页脚问题 (RtfHeaderFooters ),
//页脚
RtfHeaderFooters footers = new RtfHeaderFooters();
HeaderFooter footer_left = new HeaderFooter(new Phrase("中国医学科学院阜外心血管病医院", stsong_font), false);
HeaderFooter footer_right = new HeaderFooter(new Phrase("第 ", stsong_font), new Phrase(" 页", stsong_font));
footers.Set(RtfHeaderFooters.LEFT_PAGES, footer_left);
footers.Set(RtfHeaderFooters.RIGHT_PAGES, footer_right);
footers.Border = Rectangle.NO_BORDER;
document.Footer = footers;
页脚怎么出不来,直接使用HeaderFooter可以,但是只有一个页脚,我要2个页脚,左右各一个。
网上的帖子怎么都是footers.Add,我怎么只有Set方法呢?? DLl不一样吗
pdf 页脚 pdf RtfHeaderFooters 页脚 --------------------编程问答--------------------
补充:.NET技术 , C#