forked from reingart/pyfpdf
-
Notifications
You must be signed in to change notification settings - Fork 1
Link
Roman Kharin edited this page Mar 21, 2015
·
1 revision
fpdf.link(float x, float y, float w, float h, mixed link)
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.
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 AddLink().