HaruPage::setFontAndSize

(no version information, might be only in CVS)

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.

参见

HaruDoc::getFont()