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

search for in the

HaruPage::setSlideShow> <HaruPage::setRotate
[edit] Last updated: Fri, 17 May 2013

view this page in

HaruPage::setSize

(PECL haru >= 0.0.1)

HaruPage::setSizeDéfinit la taille et la direction de la page

Description

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

Modifie la taille et la direction de la page en un format prédéfini.

Liste de paramètres

size

Doit être une des valeurs suivantes :

  • 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

Doit être une des valeurs suivantes :

  • HaruPage::PORTRAIT
  • HaruPage::LANDSCAPE

Valeurs de retour

Retourne TRUE en cas de succès.

Erreurs / Exceptions

Émet une exception HaruException en cas d'erreur.

Voir aussi



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

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