HaruDoc::setOpenAction

(PECL haru >= 0.0.1)

HaruDoc::setOpenActionDefine which page is shown when the document is opened

Description

bool HaruDoc::setOpenAction ( object $destination )

Defines which page should be shown when the document is opened.

Parameters

destination

A valid HaruDestination instance.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.