05-06-2008, 04:25 PM
I have a small iframe, which loads a PDF document, in my webpage.
My question is...
For example, I need it to search something in the PDF and select the first word found.
Is it possible?
05-07-2008, 02:20 AM
you would need to create an activex object to load the pdf document instead of relying on the browser's behavior to load the pdf in your page. then you could (based on the documentation of the activex object you can create from the adobe dlls/ocxs) use scripting to invoke functions on the object.
05-07-2008, 03:33 AM
Are there freely availble PDF viewer activeX controls?
Does Adobe provide one?
05-07-2008, 03:53 AM
adobe acrobat is running in an activex instance when appearing in the browser. all you need to do is either use reflector to find out what methods and structures it has (or find some other documentation on it) and figure out the name to instantiate it with. keep in mind that even if you do get this script running, only ie supports the creation of activex controls in script (as such) and only in windows at that. might be better to give up the extra functionality and go with cross platform.