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.
Return值
Returns TRUE on success.
錯誤/例外
Throws HaruException on error.