HaruDestination::setFitR

(PECL haru >= 0.0.1)

HaruDestination::setFitRSet the appearance of the page to fit the specified rectangle

Descrierea

HaruDestination::setFitR ( float $left , float $bottom , float $right , float $top ) : bool

Defines the appearance of the page to fit the rectangle by the parameters.

Parametri

left

The left coordinates of the page.

bottom

The bottom coordinates of the page.

right

The right coordinates of the page.

top

The top coordinates of the page.

Valorile întoarse

Returns TRUE on success.

Erori/Excepții

Emite un HaruException în caz de eroare.