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()

Top ↑

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


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.