pdf_add_launchlink

(PHP 4 >= 4.0.5, PECL)

pdf_add_launchlink -- Add a launch annotation for current page

Description

bool pdf_add_launchlink ( resource pdfdoc, float llx, float lly, float urx, float ury, string filename )

Adds a link to a web resource specified by filename. 如果成功则返回 TRUE,失败则返回 FALSE

See also pdf_add_locallink().


add a note add a note User Contributed Notes
rhys at NOSPAM dot rhysmeister dot com
20-Jul-2004 08:24
pdf_add_launchlink($pdf, 300, 300, 325, 325, "http://www.google.co.uk");

The numbers plot a shape on the page. The first two plot the lower left corner and the next pair plot the upper right hand corner. Links can also be made to the local filesystem.