mPDF Manual – mPDF Variables

defaultPagebreakType

Types page breaks for forced pagebreaks using <pagebreak />.

(mPDF ≥ 6.0)

Description

void defaultPageNumStyle

Types page breaks for forced pagebreaks using <pagebreak />. Automatic pagebreaks (flow in text) are always 'slice'

For more information, see page breaks.

Values

defaultPagebreakType

Values

  • 'slice'
  • 'cloneall'
  • 'clonebycss'

Default: 'cloneall'

Changelog

Version Description
6.0 Variable was added.

See Also

Fork me on GitHub