haru
PHP Manual

HaruDestination::setFitH

(PECL haru:0.0.1)

HaruDestination::setFitH — Set the appearance of the page to fit the window width

说明

bool HaruDestination::setFitH ( float $top )

Defines the appearance of the page to fit the window width and sets the top position of the page to the value of top .

参数

top

The top position of the page.

返回值

Returns TRUE on success.

错误/异常

Throws HaruException on error.


haru
PHP Manual