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 » Fri Nov 21, 2014 2:37 pm

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 chapters.

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 » Fri Nov 21, 2014 3:36 pm

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: 1460
Joined: Thu Jul 10, 2008 2:21 pm

Re: Links in Table of contents not detected

Post by Alex » Tue Nov 25, 2014 5:14 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest