settopmargin.htm 869 B

1234567891011121314151617181920212223242526272829
  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>SetTopMargin</title>
  6. <link type="text/css" rel="stylesheet" href="../fpdf.css">
  7. </head>
  8. <body>
  9. <h1>SetTopMargin</h1>
  10. <code>SetTopMargin(<b>float</b> margin)</code>
  11. <h2>Description</h2>
  12. Defines the top margin. The method can be called before creating the first page.
  13. <h2>Parameters</h2>
  14. <dl class="param">
  15. <dt><code>margin</code></dt>
  16. <dd>
  17. The margin.
  18. </dd>
  19. </dl>
  20. <h2>See also</h2>
  21. <a href="setleftmargin.htm">SetLeftMargin</a>,
  22. <a href="setrightmargin.htm">SetRightMargin</a>,
  23. <a href="setautopagebreak.htm">SetAutoPageBreak</a>,
  24. <a href="setmargins.htm">SetMargins</a>
  25. <hr style="margin-top:1.5em">
  26. <div style="text-align:center"><a href="index.htm">Index</a></div>
  27. </body>
  28. </html>