HaruDoc::setPageMode

(PECL haru >= 0.0.1)

HaruDoc::setPageModeSet how the document should be displayed

说锟斤拷

HaruDoc::setPageMode ( int $mode ) : bool

Defines how the document should be displayed.

锟斤拷锟斤拷

mode

The following values are accepted:

  • HaruDoc::PAGE_MODE_USE_NONE - display the document with neither outline nor thumbnail.
  • HaruDoc::PAGE_MODE_USE_OUTLINE - display the document with outline pane.
  • HaruDoc::PAGE_MODE_USE_THUMBS - display the document with thumbnail pane.
  • HaruDoc::PAGE_MODE_FULL_SCREEN - display the document with full screen mode.

锟斤拷锟斤拷值

Returns TRUE on success.

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷锟斤拷锟斤拷时锟阶筹拷 HaruException 锟届常锟斤拷

锟轿硷拷