setlink.htm 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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>SetLink</title>
  6. <link type="text/css" rel="stylesheet" href="../fpdf.css">
  7. </head>
  8. <body>
  9. <h1>SetLink</h1>
  10. <code>SetLink(<b>int</b> link [, <b>float</b> y [, <b>int</b> page]])</code>
  11. <h2>Description</h2>
  12. Defines the page and position a link points to.
  13. <h2>Parameters</h2>
  14. <dl class="param">
  15. <dt><code>link</code></dt>
  16. <dd>
  17. The link identifier returned by AddLink().
  18. </dd>
  19. <dt><code>y</code></dt>
  20. <dd>
  21. Ordinate of target position; <code>-1</code> indicates the current position.
  22. The default value is <code>0</code> (top of page).
  23. </dd>
  24. <dt><code>page</code></dt>
  25. <dd>
  26. Number of target page; <code>-1</code> indicates the current page. This is the default value.
  27. </dd>
  28. </dl>
  29. <h2>See also</h2>
  30. <a href="addlink.htm">AddLink()</a>.
  31. <hr style="margin-top:1.5em">
  32. <div style="text-align:center"><a href="index.htm">Index</a></div>
  33. </body>
  34. </html>