Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 697 Bytes

link.md

File metadata and controls

30 lines (19 loc) · 697 Bytes

link

fpdf.link(x: float, y: float, w: float, h: float, link)

Description

Puts a link on a rectangular area of the page. 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.

Parameters

x:

Abscissa of the upper-left corner of the rectangle.

y:

Ordinate of the upper-left corner of the rectangle.

w:

Width of the rectangle.

h:

Height of the rectangle.

link:

URL or identifier returned by add_link.

See also

add_link, cell, write, image.