PHP Doku:: Print the text inside the specified region - function.harupage-textrect.html

Verlauf / Chronik / History: (18) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenHaru PDFThe HaruPage classHaruPage::textRect

Ein Service von Reinhard Neidl - Webprogrammierung.

The HaruPage class

<<HaruPage::textOut

The HaruFont class>>

HaruPage::textRect

(PECL haru >= 0.0.1)

HaruPage::textRectPrint the text inside the specified region

Beschreibung

bool HaruPage::textRect ( float $left , float $top , float $right , float $bottom , string $text [, int $align = HaruPage::TALIGN_LEFT ] )

Prints the text inside the specified region.

Parameter-Liste

left

Left border of the text area.

top

Top border of the text area.

right

Right border of the text area.

bottom

Lower border of the text area.

text

The text to print.

align

Text alignment. Must be one of the following values:

  • HaruPage::TALIGN_LEFT
  • HaruPage::TALIGN_RIGHT
  • HaruPage::TALIGN_CENTER
  • HaruPage::TALIGN_JUSTIFY

Rückgabewerte

Returns TRUE on success.

Fehler/Exceptions

Throws a HaruException on error.

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)