HaruAnnotation::setOpened
(PECL haru:0.0.1)
HaruAnnotation::setOpened — Set the initial state of the annotation
說明
bool HaruAnnotation::setOpened
( bool $opened
)
Defines 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.
Return值
Returns TRUE on success.
錯誤/例外
Throws HaruException on error.