Home > PHP > Function > > HaruPage::createURLAnnotation()

HaruPage::createURLAnnotation()

HaruPage::createURLAnnotation - Create and return new
HaruAnnotationinstance

Syntax

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

Arguments

  • rectangle - An array with 4 coordinates of the clickable area.
  • url - The URL to open.

Description

Creates a new HaruAnnotationinstance.

Version

PHP PECL haru >= 0.0.1

Return value

Returns a new HaruAnnotationinstance.