HaruPage::setSlideShow

(PECL haru >= 0.0.1)

HaruPage::setSlideShowتعیین نحوه انتقال صفحه

Description

bool HaruPage::setSlideShow ( int $type , float $disp_time , float $trans_time )

تعیین نحوه انتقال صفحه.

Parameters

type

باید یکی از مقادیر زیر باشد:

  • HaruPage::TS_WIPE_RIGHT
  • HaruPage::TS_WIPE_LEFT
  • HaruPage::TS_WIPE_UP
  • HaruPage::TS_WIPE_DOWN
  • HaruPage::TS_BARN_DOORS_HORIZONTAL_OUT
  • HaruPage::TS_BARN_DOORS_HORIZONTAL_IN
  • HaruPage::TS_BARN_DOORS_VERTICAL_OUT
  • HaruPage::TS_BARN_DOORS_VERTICAL_IN
  • HaruPage::TS_BOX_OUT
  • HaruPage::TS_BOX_IN
  • HaruPage::TS_BLINDS_HORIZONTAL
  • HaruPage::TS_BLINDS_VERTICAL
  • HaruPage::TS_DISSOLVE
  • HaruPage::TS_GLITTER_RIGHT
  • HaruPage::TS_GLITTER_DOWN
  • HaruPage::TS_GLITTER_TOP_LEFT_TO_BOTTOM_RIGHT
  • HaruPage::TS_REPLACE

disp_time

طول نمایش صفحه به ثانیه.

trans_time

مدت تاثیر انتقال به ثانیه.

Return Values

بازگرداندن TRUE در صورت موفقیت.

Errors/Exceptions

Throws a HaruException on error.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top