HaruPage::createLinkAnnotation

(PECL haru >= 0.0.1)

HaruPage::createLinkAnnotationCreate new HaruAnnotation instance

Descrierea

HaruPage::createLinkAnnotation ( array $rectangle , object $destination ) : object

Creates a new HaruAnnotation instance.

Parametri

rectangle

An array with 4 coordinates of the clickable area.

destination

Valid HaruDestination instance.

Valorile întoarse

Returns a new HaruAnnotation instance.

Erori/Excepții

Emite un HaruException în caz de eroare.