GetLinkAnnotHighlightMode
Annotations and hotspot links
Description
Reads the activation highlight mode of a Link annotation
An absent /H entry reports the PDF default lhmInvert
Syntax
Delphi
Function GetLinkAnnotHighlightMode(Index: Integer; Out Mode: TPDFlibLinkHighlightMode): Integer;Parameters
| Index | One-based annotation index on the currently selected page; the annotation must be a Link annotation |
|---|---|
| Mode | Receives lhmNone, lhmInvert, lhmOutline or lhmPush; an absent /H entry reports the PDF default lhmInvert |
Return values
| 1 | The mode was read, including the default when /H is absent |
|---|---|
| 0 | No document is loaded, Index does not address a Link annotation, or /H is not a recognised name; Mode stays at lhmInvert |