HaruPage
PHP Manual

HaruPage::createURLAnnotation

(PECL haru >= 0.0.1)

HaruPage::createURLAnnotationCreate and return new HaruAnnotation instance

Descrição

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

Creates a new HaruAnnotation instance.

Parâmetros

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

Valor Retornado

Returns a new HaruAnnotation instance.

Erros

Joga um HaruException em erro.


HaruPage
PHP Manual