HaruDestination::setFitH

(PECL haru >= 0.0.1)

HaruDestination::setFitHSet the appearance of the page to fit the window width

Description

HaruDestination::setFitH ( float $top ) : bool

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

Parameters

top

The top position of the page.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.