HaruPage::setWidth()
(PECL haru >= 0.0.1)
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