JavaScript Editor Javascript debugger     Website design 

HaruPage::createURLAnnotation

Create and return new HaruAnnotation instance ()
object HaruPage::createURLAnnotation ( array rectangle, string url )

Creates and returns new HaruAnnotation instance.

Parameters

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

Errors/Exceptions

Throws HaruException on error.