HaruPage::setFontAndSize

(PECL haru >= 0.0.1)

HaruPage::setFontAndSizeSet font and fontsize for the page

说明

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

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.