PHP - Manual: HaruDestination::setFitBH
2024-11-13
(PECL haru >= 0.0.1)
HaruDestination::setFitBH — Set the appearance of the page to fit the width of the bounding box
$top
) : bool
Defines the appearance of the page to magnifying to fit the width of the
bounding box and setting the top position of the page to the value of
top
.
top
The top coordinates of the page.
Returns TRUE
on success.
发生错误时抛出 HaruException 异常。
官方地址:https://www.php.net/manual/en/harudestination.setfitbh.php