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 異常。

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top