Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame^] | 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=UTF-8">
|
| 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 | Returns the length of a string in user unit. A font must be selected.
|
| 13 | <h2>Parameters</h2>
|
| 14 | <dl class="param">
|
| 15 | <dt><code>s</code></dt>
|
| 16 | <dd>
|
| 17 | The string whose length is to be computed.
|
| 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>
|