Thanks to a quick search on stackoverflow and google, I was able to find that we can directly open a PDF file from a URL at a certain point.
As explained below, we can do so using the "nameddest" parameter: How can I programmaticly open a pdf at a certain point?
However, all the links I read talk about opening the pdf file from a URL. What if I want to open the pdf file in my local file system at a given location. For example, instead of the following: http://example.org/doc.pdf#nameddest=Chapter6 say, I want to do this: file:///D:/work/doc.pdf#nameddest=Chapter6
I tried the same, but it doesn't work. Any help/suggestio开发者_开发技巧ns?
Regards, Kapil
I don't have a solution for you using the file protocol but you can achieve it by invoking Acrobat or Adobe Reader directly:
acrobat.exe /a "page=2" "c:\Binder1.pdf"
acrord32.exe /a "page=2" "c:\Binder1.pdf"
精彩评论