SetLinkAnnotHighlightMode

Annotations and hotspot links

Description

Sets the activation highlight mode of a Link annotation

Supports none, invert, outline and push modes

Syntax

Delphi

Function SetLinkAnnotHighlightMode(Index: Integer; Mode: TPDFlibLinkHighlightMode): Integer;

Parameters

IndexOne-based annotation index on the currently selected page; the annotation must be a Link annotation
ModelhmNone for /H /N, lhmInvert for /H /I, lhmOutline for /H /O, or lhmPush for /H /P

Return values

1/H was written
0No document is loaded, Index does not address a Link annotation, or Mode is not a valid TPDFlibLinkHighlightMode value