编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « HaruPage::setTextRise
  • HaruPage::setWordSpace »
  • PHP Manual
  • HaruPage
  • Set width of the page

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

相关文章
php harudestination set the appearance of the page to fit the window widthphp harupage get the width of the pagephp harupage set filling color for the pagephp harupage set stroking color for the pagephp harupage set the dash pattern for the pagephp harupage set flatness for the pagephp harupage set font and fontsize for the pagephp harupage set filling color for the pagephp harupage set height of the pagephp harupage set horizontal scaling for the pagephp harupage set line join style for the pagephp harupage set line width for the pagephp harupage set the current value of the miter limit of the pagephp harupage set size and direction of the pagephp harupage set transition style for the pagephp harupage set text leading line spacing for the pagephp harupage set the current text transformation matrix of the pagephp harupage set text rendering mode for the pagephp harupage set width of the pagephp harupage set word spacing for the page
关注编程学问公众号
编程学问网 湘ICP备20001732号