mPDF Manual – mPDF Variables

(mPDF ≥ 4.0)

Description

Specify padding between top-margin and header in ‘stretch’ mode. When setAutoTopMargin or setAutoBottomMargin are set to 'stretch' autoMarginPadding defines the minimum distance in mm that will be forced between the bottom of the header and the top of the main text (or bottom of text and footer).

Values

Values

• FLOAT Value in millimeters

Default: 2

Examples

<?php