setautopagebreak.htm 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  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>
  12. Enables or disables the automatic page breaking mode. When enabling, the second parameter is
  13. the distance from the bottom of the page that defines the triggering limit. By default, the
  14. mode is on and the margin is 2 cm.
  15. <h2>Parameters</h2>
  16. <dl class="param">
  17. <dt><code>auto</code></dt>
  18. <dd>
  19. Boolean indicating if mode should be on or off.
  20. </dd>
  21. <dt><code>margin</code></dt>
  22. <dd>
  23. Distance 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>