HaruPage
PHP Manual

HaruPage::setFontAndSize

(PECL haru >= 0.0.1)

HaruPage::setFontAndSizeSet font and fontsize for the page

Описание

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

Defines current font and its size for the page.

Параметри

font

A valid HaruFont instance.

size

The size of the font.

Връщани стойности

Returns TRUE on success.

Грешки/Изключения

Throws a HaruException on error.

Вж. също


HaruPage
PHP Manual