HaruPage::setFlatness
HaruPage::setGrayFill
HaruPage
PHP Manual

# HaruPage::setFontAndSize

(PECL haru >= 0.0.1)

HaruPage::setFontAndSize — Set font and fontsize for the page

### Descripción

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

Defines current font and its size for the page.

### Lista de parámetros

`font`

  A valid HaruFont instance.

`size`

  The size of the font.

### Valores retornados

Returns `TRUE` on success.

### Errors/Exceptions

Throws a HaruException on error.

### Ver también

- HaruDoc::getFont - Get HaruFont instance

HaruPage::setFlatness
HaruPage::setGrayFill
HaruPage
PHP Manual