haru
PHP Manual

HaruPage::setFontAndSize

(PECL haru:0.0.1)

HaruPage::setFontAndSize — Set 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 HaruException on error.

参见


haru
PHP Manual