以WPS 2019版本为例:
关于PDF如何添加页眉页脚的操作方法,我们推荐您可考虑使用WPS2019来完成,操作步骤如下:
1、打开「PDF文档」;
2、点击「插入-页码」/「插入-页眉页脚」(提示该功能需开通WPS会员使用);
3、可根据需求设置页面或页眉页脚的参数来进行插入。
楼上的那位没弄懂我得意思,不过还是谢谢他的回答!
HeaderFooter footer = new HeaderFooter(new Phrase("-"),true);
footer.setBorder(Rectangle.NO_BORDER);
footer.setBorder(Rectangle.TOP);
footer.setBorderColor(Color.black);
footer.setAlignment(2);
document.setFooter(footer);
document.open();
这是我设置页脚的代码,我现在想往里面添加图片怎么搞?