setmargins.htm 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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>Descripción</h2>
  12. Define los márgenes izquierdo, superior, y derecho. Por defecto, son iguales a 1 cm. Invoque este método para cambiarlas.
  13. <h2>Parámetros</h2>
  14. <dl class="param">
  15. <dt><code>left</code></dt>
  16. <dd>
  17. Márgen izquierdo.
  18. </dd>
  19. <dt><code>top</code></dt>
  20. <dd>
  21. Márgen superior.
  22. </dd>
  23. <dt><code>right</code></dt>
  24. <dd>
  25. Márgen derecho. Valor por defecto es el mismo que el de la izquierda.
  26. </dd>
  27. </dl>
  28. <h2>Vea además</h2>
  29. <a href="setleftmargin.htm">SetLeftMargin</a>,
  30. <a href="settopmargin.htm">SetTopMargin</a>,
  31. <a href="setrightmargin.htm">SetRightMargin</a>,
  32. <a href="setautopagebreak.htm">SetAutoPageBreak</a>
  33. <hr style="margin-top:1.5em">
  34. <div style="text-align:center"><a href="index.htm">Inicio</a></div>
  35. </body>
  36. </html>