• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • HaruPage::setHorizontalScaling()

    (PECL haru >= 0.0.1)

    Set horizontal scaling for the page

    说明

    HaruPage::setHorizontalScaling(float $scaling): bool

    Set the horizontal scaling for the page.

    参数

    $scaling

    The horizontal scaling for text showing on the page. The initial value is 100.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。

    参见

    • HaruPage::getHorizontalScaling() Get the current value of horizontal scaling