TPDFlibViewerAnnotClick

Events, viewer interaction

Description

Fires through OnAnnotClick when the user clicks a non-link annotation, for example a text note, file attachment, square or highlight

Link annotations are reported through OnLinkClick instead

Declaration

TPDFlibViewerAnnotClick = procedure(Sender: TObject; APage, AnnotIndex: Integer; const Subtype: WideString) of object;

Parameters

SenderThe viewer on which the click happened
APageOne-based page number holding the annotation
AnnotIndexOne-based annotation index on that page
SubtypeThe annotation's /Subtype name, such as Text or FileAttachment

See also

OnAnnotClick, AnnotAtPagePoint, SaveAnnotAttachmentToFile, InteractiveAnnotations, TPDFlibViewerLinkClick, TPDFlibViewer