HaruPage::createTextAnnotation
HaruPage::curveTo2
HaruPage
PHP Manual

# HaruPage::createURLAnnotation

(PECL haru >= 0.0.1)

HaruPage::createURLAnnotation — Create and return new HaruAnnotation instance

### Opis

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

Creates a new HaruAnnotation instance.

### Parametry

`rectangle`

  An array with 4 coordinates of the clickable area.

`url`

  The URL to open.

### Zwracane wartości

Returns a new HaruAnnotation instance.

### Błędy/Wyjątki

Zgłasza wyjątek HaruException gdy wystąpi błąd.

HaruPage::createTextAnnotation
HaruPage::curveTo2
HaruPage
PHP Manual