These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Extract vector coordinates from PDF Doc

rolwingr
Registered: May 9 2009
Posts: 2

Is it possible to have a script extract the coordinates of vector paths (lines and curves mostly) from the specific layers of a pdf and to export that information to an XML file?

I have noticed comments where you can get the quadrants of text using "getPageNthWordQuads." I am looking for something similar where I can extract all paths, lines, shapes and other objects within the pdf. This can be achieved in Adobe Illustrator using a script but I am looking for something web-based.

Thanks,
Rebecca

try67
Expert
Registered: Oct 30 2008
Posts: 2398
Not with JavaScript. Might be possible with a custom-made plugin, but I'm not sure that would work on a website as it usually needs to be installed locally.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com