Name
annot:SetTextAnnotOpened -- set visibility state of text annotation
Synopsis
status = annot:SetTextAnnotOpened(open)
Function
annot:SetTextAnnotOpened() defines whether the text-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