pdfEnableHyperlinks

Enable or disable hyperlink support.
void pdfEnableHyperlinks(PDFViewerHandle viewer, BOOL on)
By default, if the user clicks on a hyperlink in a PDF file, the XpdfViewer library will follow the link. This can involve moving to a different page, opening another PDF file, or starting up a web browser. The pdfEnableHyperlinks function enables (if on is true) or disables (if on is false) this behavior. The default value is enabled.

Note that the link click callback (see pdfSetLinkClickCbk) will be called even when hyperlinks are disabled.

C:
pdfEnableHyperlinks(viewer, FALSE);
pdfEnableExternalHyperlinks
pdfSetLinkClickCbk