blob: ae598d0ba8398efa0e1543e2499a07698c39576a [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>SetAutoPageBreak</title>
6<link type="text/css" rel="stylesheet" href="../fpdf.css">
7</head>
8<body>
9<h1>SetAutoPageBreak</h1>
10<code>SetAutoPageBreak(<b>boolean</b> auto [, <b>float</b> margin])</code>
11<h2>Description</h2>
12Enables or disables the automatic page breaking mode. When enabling, the second parameter is
13the distance from the bottom of the page that defines the triggering limit. By default, the
14mode is on and the margin is 2 cm.
15<h2>Parameters</h2>
16<dl class="param">
17<dt><code>auto</code></dt>
18<dd>
19Boolean indicating if mode should be on or off.
20</dd>
21<dt><code>margin</code></dt>
22<dd>
23Distance from the bottom of the page.
24</dd>
25</dl>
26<h2>See also</h2>
27<a href="cell.htm">Cell</a>,
28<a href="multicell.htm">MultiCell</a>,
29<a href="acceptpagebreak.htm">AcceptPageBreak</a>
30<hr style="margin-top:1.5em">
31<div style="text-align:center"><a href="index.htm">Index</a></div>
32</body>
33</html>