本文介绍了如何仅删除第一页的页眉页脚 - mpdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Mpdf 中的以下两个函数在所有页面中添加页眉和页脚.
Below two functions in the Mpdf adding the header and footer in all the pages.
SetHTMLHeader()SetHTMLFooter()
SetHTMLHeader()SetHTMLFooter()
但是,有人请帮我从pdf的第一页中删除页眉和页脚吗?
But, anyone please help me to remove the header and footer from the first page of the pdf?
推荐答案
mPDF 有一个选项叫做show-this-page":- 我想,将它设置为 0
不会在第一页上显示它.
mPDF has an option on this called "show-this-page" :- Setting this to 0
would, i guess, not show it on the first page.
查看文档:http://mpdf1.com/manual/index.php?tid=253
这篇关于如何仅删除第一页的页眉页脚 - mpdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!