HaruPage::createURLAnnotation

(PECL haru >= 0.0.1)

HaruPage::createURLAnnotationCreate and return new HaruAnnotation instance

Descrierea

HaruPage::createURLAnnotation ( array $rectangle , string $url ) : object

Creates a new HaruAnnotation instance.

Parametri

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

Valorile întoarse

Returns a new HaruAnnotation instance.

Erori/Excepții

Emite un HaruException în caz de eroare.