PHP - Manual: HaruAnnotation::setOpened
2025-11-01
(PECL haru >= 0.0.1)
HaruAnnotation::setOpened — Set the initial state of the annotation
$opened
   ) : boolDefines whether the annotation is initially displayed open. This function may be used with text annotations only.
opened
       TRUE means the annotation is initially displayed open, FALSE -
       means it's closed.
      
   Returns TRUE on success.
  
发生错误时抛出 HaruException 异常。
 add a note
 add a note
  官方地址:https://www.php.net/manual/en/haruannotation.setopened.php