status = annot:SetLinkAnnotHighlightMode(mode)
annot:SetLinkAnnotHighlightMode()
defines the appearance when a mouse clicks on a link annotation.
mode
can be one of the following constants:
#HPDF_ANNOT_NO_HIGHTLIGHT
#HPDF_ANNOT_INVERT_BOX
#HPDF_ANNOT_INVERT_BORDER
#HPDF_ANNOT_DOWN_APPEARANCE
Returns #HPDF_OK
on success. Otherwise, returns an error code and the error handler is invoked.
#HPDF_INVALID_ANNOTATION
- An invalid annotation handle was set.
#HPDF_FAILED_TO_ALLOC_MEM
- Memory allocation failed.