- PHP 手册
- 函数参考
- 非文本内容的 MIME 输出
- haru
- HaruDestination
HaruDestination::setFitR
(PECL haru >= 0.0.1)
HaruDestination::setFitR — Set the appearance of the page to fit the specified rectangle
说明
HaruDestination::setFitR ( float$left
, float $bottom
, float $right
, float $top
) : bool
Defines the appearance of the page to fit the rectangle by the 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.
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出 HaruException 异常。
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/harudestination.setfitr.php