Name
  annot:SetPopupAnnotOpened -- set visibility state of popup annotation
Synopsis

      status = annot:SetPopupAnnotOpened(open)

Function
  `annot:SetPopupAnnotOpened()` defines whether the popup annotation is initially open.

  Returns `#HPDF_OK` on success. Otherwise, returns an error code and the error handler is invoked.

Inputs
  open
    `True` means the annotation initially displayed open
Results
  status
    status code
Errors
  `#HPDF_INVALID_ANNOTATION` - An invalid annotation handle was set.

  `#HPDF_FAILED_TO_ALLOC_MEM` - Memory allocation failed.

Show TOC