TCPDF::Link( $x, $y, $w, $h, $link, $spaces )
Puts a link on a rectangular area of the page.
Description Description
Text or image links are generally put via Cell(), Write() or Image(), but this method can be useful for instance to define a clickable area inside an image.
See also See also
- AddLink(),: Annotation(), Cell(), Write(), Image()
Parameters Parameters
- $x
-
(Required) (float) Abscissa of the upper-left corner of the rectangle
- $y
-
(Required) (float) Ordinate of the upper-left corner of the rectangle
- $w
-
(Required) (float) Width of the rectangle
- $h
-
(Required) (float) Height of the rectangle
- $link
-
(Required) (mixed) URL or identifier returned by AddLink()
- $spaces
-
(Required) (int) number of spaces on the text to link
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
1.5 | Introduced. |