使用 selectPDF 将 html 转换为 pdf header

Convert html to pdf header with selectPDF

我使用 selectPDF 将 html 页面转换为 PDF 文档。对于 body 这不是问题。我可以使用 convertUrl 转换为 PDFDocument。

但是我也可以为 PDFHeader 执行此操作吗?我的 header 是一个单独的 .html 页面。

提前致谢, 杰伦

我花了一段时间才找到它,但在 SelectPDF 网站上有一个如何执行此操作的示例。

http://selectpdf.com/demo/html-to-pdf-headers-and-footers.aspx

文档本身对此不是很清楚。