The type tabs.PageSettings
is used to control how a tab is rendered as a PDF by the tabs.saveAsPDF()
method.
All its properties are optional.
For setting headers and footers, you can include certain special characters in the strings you supply. These will be replaced in the rendered output as follows:
- "&P": the page number, like "2"
- "&PT": the page number and the total number of pages, like "2 of 3"
- "&D": the current date/time
- "&T": the page title
- "&U": the page URL