JavaScript Editor Javascript debugger     Website design 


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.

Parameters

opened

TRUE means the annotation is initially displayed open, FALSE - means it's closed.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws HaruException on error.