Forum und email

HaruDoc::setOpenAction

(PECL haru:0.0.1)

HaruDoc::setOpenAction — Define which page is shown when the document is opened

說明

bool HaruDoc::setOpenAction ( object $destination )

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

參數

destination

A valid HaruDestination instance.

Return值

Returns TRUE on success.

錯誤/例外

Throws HaruException on error.