Skip to content

Fpdf::setautopagebreak

Fery Wardiyanto edited this page Feb 10, 2015 · 1 revision

SetAutoPageBreak

SetAutoPageBreak(<b>boolean</b> auto [, <b>float</b> margin])

Description

Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.

Parameters

`auto`
Boolean indicating if mode should be on or off.
`margin`
Distance from the bottom of the page.
## See also Cell(), MultiCell(), AcceptPageBreak().
Clone this wiki locally