downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HaruPage::setSlideShow> <HaruPage::setRotate
[edit] Last updated: Fri, 25 May 2012

view this page in

HaruPage::setSize

(PECL haru >= 0.0.1)

HaruPage::setSizeページのサイズおよび方向を設定する

説明

bool HaruPage::setSize ( int $size , int $direction )

ページのサイズおよび方向を、定義済みのフォーマットに変更します。

パラメータ

size

次のいずれかの値でなければなりません。

  • HaruPage::SIZE_LETTER
  • HaruPage::SIZE_LEGAL
  • HaruPage::SIZE_A3
  • HaruPage::SIZE_A4
  • HaruPage::SIZE_A5
  • HaruPage::SIZE_B4
  • HaruPage::SIZE_B5
  • HaruPage::SIZE_EXECUTIVE
  • HaruPage::SIZE_US4x6
  • HaruPage::SIZE_US4x8
  • HaruPage::SIZE_US5x7
  • HaruPage::SIZE_COMM10

direction

次のいずれかの値でなければなりません。

  • HaruPage::PORTRAIT
  • HaruPage::LANDSCAPE

返り値

成功した場合に TRUE を返します。

エラー / 例外

エラー時に HaruException をスローします。

参考



add a note add a note User Contributed Notes HaruPage::setSize
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites