TPDFlibViewerLinkClick

Events, viewer interaction

Description

Fires through OnLinkClick when the user clicks a link annotation

Info is the typed action summary the library's annotation action lookup produces, covering URI, GoTo, Named and the other action kinds, so the host can navigate without parsing PDF action dictionaries

Declaration

TPDFlibViewerLinkClick = procedure(Sender: TObject; APage: Integer; const Info: TPDFlibActionInfo) of object;

Parameters

SenderThe viewer on which the link was clicked
APageOne-based page number holding the link annotation
InfoDecoded action summary such as a URI or destination

See also

OnLinkClick, LinkActionAtPagePoint, TPDFlibActionInfo, InteractiveAnnotations, TPDFlibViewerAnnotClick, TPDFlibViewer