SetAutoPageBreak(boolean auto [, float margin])
Enables or disables automatic page break mode. When enabled, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is enabled and the margin is 2 cm.
auto
Boolean indicating whether the mode should be enabled or disabled.margin
Distance from bottom of page.