colonymech / docs / www / colonyscout / internal / fpdf16 / doc / link.htm @ f59acf11
History | View | Annotate | Download (1.24 KB)
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 |
Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(), |
13 |
Write() or Image(), but this method can be useful for instance to define a clickable area inside |
14 |
an image. |
15 |
<h2>Parameters</h2> |
16 |
<dl class="param"> |
17 |
<dt><code>x</code></dt> |
18 |
<dd>
|
19 |
Abscissa of the upper-left corner of the rectangle. |
20 |
</dd>
|
21 |
<dt><code>y</code></dt> |
22 |
<dd>
|
23 |
Ordinate of the upper-left corner of the rectangle. |
24 |
</dd>
|
25 |
<dt><code>w</code></dt> |
26 |
<dd>
|
27 |
Width of the rectangle. |
28 |
</dd>
|
29 |
<dt><code>h</code></dt> |
30 |
<dd>
|
31 |
Height of the rectangle. |
32 |
</dd>
|
33 |
<dt><code>link</code></dt> |
34 |
<dd>
|
35 |
URL or identifier returned by AddLink(). |
36 |
</dd>
|
37 |
</dl>
|
38 |
<h2>See also</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>
|