当前位置:编程学习 > C#/ASP.NET >>

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#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,