PHP - Manual: HaruDestination::setFitH
2024-12-21
(PECL haru >= 0.0.1)
HaruDestination::setFitH — Set the appearance of the page to fit the window width
$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
.
top
The top position of the page.
Returns TRUE
on success.
发生错误时抛出 HaruException 异常。
官方地址:https://www.php.net/manual/en/harudestination.setfith.php