How to access Adobe Acrobat PDF functions?
Posted: Wed Feb 06, 2019 5:08 am
I can make PDFs show in a Web Gadget, and it works fine, but some have pointed out that user settings can affect this. So I wonder if anyone knows how to access the functionality that lies inside the basic Adobe Acrobat Reader, which almost everyone has on their computer.
In Visual Studio, I added a reference to Adobe Acrobat Browser Control Type Library. It appeared in the list of COM libraries. That somehow added AcroPDFLib to my references. It also added an AxAcroPDF "gadget" (Microsoft called them "controls") that I could drag on to my form. Then, in code, I could say, and the control would fill with the contents of the PDF and allow navigating it.
How to do this in PureBasic, aside from the Web Gadget way?
In Visual Studio, I added a reference to Adobe Acrobat Browser Control Type Library. It appeared in the list of COM libraries. That somehow added AcroPDFLib to my references. It also added an AxAcroPDF "gadget" (Microsoft called them "controls") that I could drag on to my form. Then, in code, I could say,
Code: Select all
AxAcroPDF.LoadFile(PDFfileName$)
How to do this in PureBasic, aside from the Web Gadget way?