PHP Manual
Prev |  | Next

# pdf_add_locallink

(PHP 4 >= 4.0.5, PECL)

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

## Description

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. Returns `TRUE` on success or `FALSE` on failure.

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.

Prev | Home | Next
pdf_add_launchlink | Up | pdf_add_nameddest