setmargins.htm 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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>SetMargins</title>
  6. <link type="text/css" rel="stylesheet" href="../fpdf.css">
  7. </head>
  8. <body>
  9. <h1>SetMargins</h1>
  10. <code>SetMargins(<b>float</b> left, <b>float</b> top [, <b>float</b> right])</code>
  11. <h2>Description</h2>
  12. Fixe les marges gauche, haute et droite. Par défaut, elles valent 1 cm. Appelez cette méthode si
  13. vous désirez les changer.
  14. <h2>Paramètres</h2>
  15. <dl class="param">
  16. <dt><code>left</code></dt>
  17. <dd>
  18. Marge gauche.
  19. </dd>
  20. <dt><code>top</code></dt>
  21. <dd>
  22. Marge haute.
  23. </dd>
  24. <dt><code>right</code></dt>
  25. <dd>
  26. Marge droite. Par défaut, est égale à la gauche.
  27. </dd>
  28. </dl>
  29. <h2>Voir</h2>
  30. <a href="setleftmargin.htm">SetLeftMargin()</a>,
  31. <a href="settopmargin.htm">SetTopMargin()</a>,
  32. <a href="setrightmargin.htm">SetRightMargin()</a>,
  33. <a href="setautopagebreak.htm">SetAutoPageBreak()</a>.
  34. <hr style="margin-top:1.5em">
  35. <div style="text-align:center"><a href="index.htm">Index</a></div>
  36. </body>
  37. </html>