HaruPage
PHP Manual

HaruPage::createURLAnnotation

(PECL haru:0.0.1)

HaruPage::createURLAnnotationCreate and return new HaruAnnotation instance

Описание

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

Creates a new HaruAnnotation instance.

Список параметров

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

Возвращаемые значения

Returns a new HaruAnnotation instance.

Errors/Exceptions

Throws HaruException on error.


HaruPage
PHP Manual