您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

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.