Page 1 of 1

Links in Table of contents not detected

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

Re: Links in Table of contents not detected

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

Re: Links in Table of contents not detected

Posted: Tue Nov 25, 2014 5:14 pm
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