pdf.templateString(default: null)

A piece of HTML to be included in each page. Can be used to display headers and footers. See the documentation in drawDOM.

Available template variables include:

  • pageNum
  • totalPages

Important

Using a template requires setting paper size

In this article
pdf.template
Not finding the help you need?
Contact Support