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

    (PECL haru >= 0.0.1)

    Set the appearance of the page to fit the width of the bounding box

    说明

    HaruDestination::setFitBH(float $top): bool

    Defines the appearance of the page to magnifying to fit the width of the bounding box and setting the top position of the page to the value of$top.

    参数

    $top

    The top coordinates of the page.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。