Forum und email

HaruPage::setFontAndSize

(PECL haru:0.0.1)

HaruPage::setFontAndSize — Set font and fontsize for the page

Beschreibung

bool HaruPage::setFontAndSize ( object $font , float $size )

Defines current font and its size for the page.

Parameter Liste

font

A valid HaruFont instance.

size

The size of the font.

Rückgabewerte

Returns TRUE on success.

Fehler/Exceptions

Throws HaruException on error.

Siehe auch