HaruDoc::setOpenAction

(PECL haru >= 0.0.1)

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

Description

HaruDoc::setOpenAction ( object $destination ) : bool

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.