status = annot:SetPopupAnnotOpened(open)
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.
True
means the annotation initially displayed open#HPDF_INVALID_ANNOTATION
- An invalid annotation handle was set.
#HPDF_FAILED_TO_ALLOC_MEM
- Memory allocation failed.