Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

for use with the old WebKit backend. for the new Chrome based backend, see IPdfOptions

options for specifying headers or footers in a pdf render.

Hierarchy

  • IPdfHeaderFooter_WebKit

Index

Properties

Optional firstPage

firstPage: string

if specified, this is used for the first page (instead of the repeating)

height

height: string

required. Supported dimension units are: 'mm', 'cm', 'in', 'px'. No unit means 'px'.

Optional lastPage

lastPage: string

if specified, this is used for the last page (instead of the repeating)

Optional onePage

onePage: string

if specified, this is used for single page pdfs (instead of the repeating)

Optional repeating

repeating: string

specify a header used for each page. use wildcards for pageNum,numPages as shown in this example: repeating:<h1><span style='float:right'>%pageNum%/%numPages%</span></h1>