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.

错误/异常

发生错误时抛出 HaruException 异常。

参见

User Contributed Notes

There are no user contributed notes for this page.