mPDF Manual – mPDF Variables

setAutoBottomMargin

(mPDF >= 4.0)

Description

mixed setAutoBottomMargin

Specify the behaviour defining the bottom-margin of the document. When $$setAutoBottomMargin is set to ‘stretch’ then $autoMarginPadding defines the minimum distance in mm that will be forced between the top of the footer and the bottom of the main text.

Values

$setAutoBottomMargin

Values

pad - the value for margin-bottom is used to set a fixed distance in mm (padding) between the top of the footer and the bottom of the main text

stretch -  margin-bottom sets a minimum distance in mm between the bottom of the page and the bottom of the main text, which expands if the footer is too large to fit.

FALSE - the defined value for margin-bottom is respected even if the footer overlaps the main body of the document.

DEFAULT FALSE

See Also