Non visual pdf root component. This component can be used to render your own PDF (based upon TCPPdf) or use the visual components that require the availability of this component. A lot of the described components will be overwritten by the visual components. So if you use visual components, then do not alter the properties in the pdf component as you can never be sure if- and when these properties will be overwritten. Use the PDF component alone, or maintain the properties by the visual components, except for properties that are bound by the root component.

Properties


Description

author

Name of author

autopagebreak

Break to new page automatically

encoding


footerFont

TCPdf font spec

footerMargin

margin in pixels

headerFont

TCPdf font spec

headerLogo

url to image file

headerLogoExtension

file extension (if applicable)

headerLogoHeight

height in pixels

headerLogoWidth

width in pixels

headerMargin

margin in pixels

headerSubtitle

line under the title

headerTitle

Title of page

imageScale

see TCPdf specs

keywords

see TCPdf specs

lineColor


marginBottom

margin in pixels

marginLeft

margin in pixels

marginRight

margin in pixels

marginTop

margin in pixels

pageFormat

Property editor for page size

pageOrientation


pdfUnit


showFooter


showHeader


Subject

see TCPdf specs

TextColor


Unicode

obsolete


PHP Events


Description

onAfterFooter


onAfterHeader


onBeforeFooter


onGetBeforeHeader



JavaScript Events

No additional events