HaruPage::setRotate

(PECL haru >= 0.0.1)

HaruPage::setRotateSet rotation angle of the page

Description

HaruPage::setRotate ( int $angle ) : bool

Defines rotation angle of the page.

Parameters

angle

Must be a multiple of 90 degrees.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.