how to add pop up menu bar when click on any link in pdf. using any pdf library with visual studio in c#
-
Saturday, September 22, 2012 12:51 PM
Hi All
I want to add a pop up menu list ( like when we click right button of mouse )that kind of pdf
when I click on a link made in pdf page using any pdf library...
Thanks in advance.
All Replies
-
Monday, September 24, 2012 8:07 AM
You would need to monitor the mouse hover / over event - when the mouse is over a link - you would then enable the context menu that you want to show.
However, that will depend on whether the pdf library has that functionality... it becomes a little more complex than this if you have to constantly monitor where the mouse is on the page in relation to where the elements are.
Such as:
link element is at x,y - has n chars using font width of z
therefore if mouse is at y and is between x and x + (n * z) then the mouse is over the link element.
Digital Forensic Software Developer
CCS LABS Digital Forensic Software
Mark as Answer or Vote up if useful thank you!- Marked As Answer by Bob ShenMicrosoft Contingent Staff, Moderator Tuesday, October 02, 2012 7:59 AM
-
Monday, September 24, 2012 10:58 AM
do you know any pdf library where I can get these feature either open source or paid.
but the problem is I want hyperlinks in pop up.
like in pdf there is option of add comments there I want to make comment text as hyperlinks but in the same document.
-
Monday, September 24, 2012 11:14 AM
do you know any pdf library where I can get these feature either open source or paid.
but the problem is I want hyperlinks in pop up.
like in pdf there is option of add comments there I want to make comment text as hyperlinks but in the same document.
-
Wednesday, September 26, 2012 7:35 AM
Try thishttp://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/b1fb55d5-a0b2-4fb7-b30a-5f6a11841fce/
- Marked As Answer by Bob ShenMicrosoft Contingent Staff, Moderator Tuesday, October 02, 2012 7:59 AM

