link.htm 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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>Link</title>
  6. <link type="text/css" rel="stylesheet" href="../fpdf.css">
  7. </head>
  8. <body>
  9. <h1>Link</h1>
  10. <code>Link(<b>float</b> x, <b>float</b> y, <b>float</b> w, <b>float</b> h, <b>mixed</b> link)</code>
  11. <h2>Description</h2>
  12. Place un lien sur une zone rectangulaire de la page. Les liens textes ou images se posent
  13. généralement via Cell(), Write() ou Image(), mais cette méthode peut être utile par exemple
  14. pour placer une zone cliquable à l'intérieur d'une image.
  15. <h2>Paramètres</h2>
  16. <dl class="param">
  17. <dt><code>x</code></dt>
  18. <dd>
  19. Abscisse du coin supérieur gauche du rectangle.
  20. </dd>
  21. <dt><code>y</code></dt>
  22. <dd>
  23. Ordonnée du coin supérieur gauche du rectangle.
  24. </dd>
  25. <dt><code>w</code></dt>
  26. <dd>
  27. Largeur du rectangle.
  28. </dd>
  29. <dt><code>h</code></dt>
  30. <dd>
  31. Hauteur du rectangle.
  32. </dd>
  33. <dt><code>link</code></dt>
  34. <dd>
  35. URL ou identifiant retourné par AddLink().
  36. </dd>
  37. </dl>
  38. <h2>Voir</h2>
  39. <a href="addlink.htm">AddLink()</a>,
  40. <a href="cell.htm">Cell()</a>,
  41. <a href="write.htm">Write()</a>,
  42. <a href="image.htm">Image()</a>.
  43. <hr style="margin-top:1.5em">
  44. <div style="text-align:center"><a href="index.htm">Index</a></div>
  45. </body>
  46. </html>