- PHP 手册
- 函数参考
- 非文本内容的 MIME 输出
- haru
- HaruPage
HaruPage::setWidth
(PECL haru >= 0.0.1)
HaruPage::setWidth — Set width of the page
说明
HaruPage::setWidth ( float$width
) : bool
Set the width of the page.
参数
-
width
-
Defines width of the page.
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出 HaruException 异常。
参见
- HaruPage::getWidth() - Get the width of the page
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/harupage.setwidth.php