Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Iterate through PDF to extract links and link box size

$
0
0

Hi Ironseth,

 

I was able to iterate through all the annotations in my PDF and determine if their subtype is 'Link' and get the coordinates of their rectangles using both IAC and javascript. I don't see any Methods under AcroExch.PDAnnot (Interapplication Communication API Reference pp. 56) that look like they will return the contents of the text that will indicate the URL of the link. The same is true of the getLinks in the Javascript for Acrobat API Reference (pp. 307) that returns the Link object (pp. 496). None of the properties or methods seem to return the URL. There is a setAction method where you can set the URL of the annotation programmatically, but there isn't a getAction method. Is there something you can think of that I am missing?

 

Thanks!


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>