Name
  annot:SetLinkAnnotHighlightMode -- set highlight appearance
Synopsis

      status = annot:SetLinkAnnotHighlightMode(mode)

Function
  `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`
    No highlighting.

  `#HPDF_ANNOT_INVERT_BOX`
    Invert the contents of the area of annotation.

  `#HPDF_ANNOT_INVERT_BORDER`
    Invert the annotation's border.

  `#HPDF_ANNOT_DOWN_APPEARANCE`
    Dent the annotation.

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

Inputs
  mode
    one of the constants listed above
Results
  status
    status code
Errors
  `#HPDF_INVALID_ANNOTATION` - An invalid annotation handle was set.

  `#HPDF_FAILED_TO_ALLOC_MEM` - Memory allocation failed.

Show TOC