Print Page | Close Window

Is it possible to catch click events?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3488
Printed Date: 19 Apr 24 at 3:02PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Is it possible to catch click events?
Posted By: DoronK
Subject: Is it possible to catch click events?
Date Posted: 06 Aug 17 at 7:14AM
Hello,
Does anyone know if it's possible to catch mouse click events within a PDF document? Specifically bookmark and/or hyperlink clicks?
If click event handling is indeed possible, is it done natively or does it require a complicated workaround? Could it be done within a C# application?
I'm looking to handle a schematic PDF with hundreds of bookmarks in a relatively simple hierarchy.

Thanks,
DK



Replies:
Posted By: tfrost
Date Posted: 06 Aug 17 at 10:39AM
I think that the PDF Viewer Active-X SDK can do this, but I do not use it myself; I only use the Quick PDF Library.  Certainly it is technically possible to do with PDFium, because you can go to a bookmark, and you can find the details of a link at an X/Y position in a PDF page, and Windows will tell you where you have clicked the mouse over the image.  You just need to write an event handler.


Posted By: Ingo
Date Posted: 06 Aug 17 at 2:20PM
Hi DK,

pdf is for layout - not for events but ...
QuickPDF offers functionalities to embedd javascript to react on events in the document like onLoad or onClick.
Perhaps this could feed your needs?

Cheers and welcome here,
Ingo (back from holidays ;-)




-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk