Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFCustomViewer.OnHyperlinkClick Event

In This Article

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

#Declaration

Delphi
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