getstringwidth.htm 711 B

1234567891011121314151617181920212223
  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>GetStringWidth</title>
  6. <link type="text/css" rel="stylesheet" href="../fpdf.css">
  7. </head>
  8. <body>
  9. <h1>GetStringWidth</h1>
  10. <code><b>float</b> GetStringWidth(<b>string</b> s)</code>
  11. <h2>Description</h2>
  12. Renvoie la longueur d'une chaîne en unité utilisateur. Une police doit être sélectionnée.
  13. <h2>Paramètres</h2>
  14. <dl class="param">
  15. <dt><code>s</code></dt>
  16. <dd>
  17. La chaîne dont on veut déterminer la longueur.
  18. </dd>
  19. </dl>
  20. <hr style="margin-top:1.5em">
  21. <div style="text-align:center"><a href="index.htm">Index</a></div>
  22. </body>
  23. </html>