HaruPage::createURLAnnotation

(PECL haru >= 0.0.1)

HaruPage::createURLAnnotationCreate and return new HaruAnnotation instance

Açıklama

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

Creates a new HaruAnnotation instance.

Değiştirgeler

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

Dönen Değerler

Returns a new HaruAnnotation instance.

Hatalar/İstisnalar

Hata durumunda bir HaruException istisnası oluşur.