Link annotations don't link to actual text (except in the rare cases of
properly tagged PDF) – they are simply associated with an Action or
Destination. The destination (/D) tells which you page (it's the first
element of the array, IIRC).
Leonard
From: Ke Xu <xu059...@gmail.com<mailto:xu059...@gmail.com>>
Reply-To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: Tuesday, July 23, 2013 10:28 AM
To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Subject: [iText-questions] [Link annotation question]
Hi guys:
I don't know how to get destination page and the text that linked to when i
process link annotation.
Here is my case, I can find the link annotation, and i get action(/A), then i
get (/S) which is "/GoTo" and the (/D) which is "M14.132.1..."ect. But how can
i use this (/D) find the destination page and the text that linked to.
Can someone tell me the methods or data struct? Any help would be greatly
appreciated. Thanks a lot.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php