Skip to main content

TdxPDFCustomViewer.OnHyperlinkClick Event

Allows you to respond to clicking a hyperlink within the displayed PDF document.

Declaration

property OnHyperlinkClick: TdxPDFViewerOnHyperlinkClickEvent read; write;

Remarks

This event occurs every time an end-user clicks a hyperlink within the loaded document. By default, the PDF Viewer control:

  • Scrolls the document to display the location to which the clicked internal hyperlink is referring;

  • Opens a clicked external hyperlink in the default web browser without displaying any warnings or notifications.

Handle the OnHyperlinkClick event to override or complement the default hyperlink activation routines. Refer to the TdxPDFViewerOnHyperlinkClickEvent type description for detailed information on all parameters accessible within an OnHyperlinkClick event handler.

See Also