GoLang HaruDestination::setFitR

request it (87)
GoLang replacement for PHP's HaruDestination::setFitR [edit | history]



Do you know a GoLang replacement for PHP's HaruDestination::setFitR? Write it!

PHP HaruDestination::setFitR

PHP original manual for HaruDestination::setFitR [ show | php.net ]

HaruDestination::setFitR

(PECL haru >= 0.0.1)

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

Description

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

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

Parameters

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.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.