HaruPage::createTextAnnotation

(PECL haru >= 0.0.1)

HaruPage::createTextAnnotationCreate new HaruAnnotation instance

Опис

object HaruPage::createTextAnnotation ( array $rectangle , string $text [, object $encoder ] )

Creates a new HaruAnnotation instance.

Параметри

rectangle

An array with 4 coordinates of the annotation area.

text

The text to be displayed.

encoder

Optional HaruEncoder instance.

Значення, що повертаються

Returns a new HaruAnnotation instance.

Помилки/Винятки

При помилці кидає HaruException.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top