Forum und email

HaruPage::createURLAnnotation

(PECL haru:0.0.1)

HaruPage::createURLAnnotation — Create and return new HaruAnnotation instance

說明

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

Creates and returns new HaruAnnotation instance.

參數

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

錯誤/例外

Throws HaruException on error.