setlinewidth.htm 886 B

123456789101112131415161718192021222324252627282930
  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>SetLineWidth</title>
  6. <link type="text/css" rel="stylesheet" href="../fpdf.css">
  7. </head>
  8. <body>
  9. <h1>SetLineWidth</h1>
  10. <code>SetLineWidth(<b>float</b> width)</code>
  11. <h2>Description</h2>
  12. Defines the line width. By default, the value equals 0.2 mm. The method can be called before
  13. the first page is created and the value is retained from page to page.
  14. <h2>Parameters</h2>
  15. <dl class="param">
  16. <dt><code>width</code></dt>
  17. <dd>
  18. The width.
  19. </dd>
  20. </dl>
  21. <h2>See also</h2>
  22. <a href="line.htm">Line</a>,
  23. <a href="rect.htm">Rect</a>,
  24. <a href="cell.htm">Cell</a>,
  25. <a href="multicell.htm">MultiCell</a>
  26. <hr style="margin-top:1.5em">
  27. <div style="text-align:center"><a href="index.htm">Index</a></div>
  28. </body>
  29. </html>