pdf_add_locallink

(PHP 4 >= 4.0.5, PECL)

pdf_add_locallink -- Add link annotation for current page [deprecated]

Descripción

bool pdf_add_locallink ( resource pdfdoc, float lowerleftx, float lowerlefty, float upperrightx, float upperrighty, int page, string dest )

Add a link annotation to a target within the current PDF file. Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

dest is the zoom setting on the destination page, it can be one of retain, fitpage, fitwidth, fitheight or fitbbox.

This function is deprecated since PDFlib version 6, use pdf_create_action() with type=GoTo and pdf_create_annotation() with type=Link instead.