Links in Table of contents not detected

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
hoetzi
Posts: 2
Joined: Fri Nov 21, 2014 11:55 am

Links in Table of contents not detected

Post by hoetzi »

Hi,
I am using the latest trial for the WPF PDF Plugin.
I have loaded a document in the reader which has a table of contents with hyperlinks to the *.

I have set my viewer tool like this:


_viewerTool.SelectionChanged += new EventHandler(_pdfViewerTool_SelectionChanged);
_viewerTool.TextSearchingProgress += new EventHandler<Vintasoft.Imaging.Pdf.UI.PdfTextSearchingProgressEventArgs>(_viewerTool_FindTextAtPage);
_viewerTool.TextSearched += new EventHandler<PdfTextSearchedEventArgs>(_viewerTool_TextSearched);
_viewerTool.LinkClick += new EventHandler<PdfLinkEventArgs>(_pdfViewerTool_LinkClick);
_viewerTool.LinkMouseEnter += new EventHandler<PdfLinkEventArgs>(_pdfViewerTool_LinkMouseEnter);
_viewerTool.LinkMouseLeave += new EventHandler(_pdfViewerTool_LinkMouseLeave);

But when I hover over the links nothing happens. The links are fine in acrobat viewer.
hoetzi
Posts: 2
Joined: Fri Nov 21, 2014 11:55 am

Re: Links in Table of contents not detected

Post by hoetzi »

OK, now I see that LinkMouseEnter only works on real hyperlinks. What about navigation links for example in table of contents?
Is this supported at all?
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Links in Table of contents not detected

Post by Alex »

Hello,

I am not sure I have understood your question. Do you want navigate bookmarks? If yes, please use the BookmarkTreeView class from the PdfDemosCommonCode project.

Best regards, Alexander
Post Reply