So my IT department has replaced Acrobat with Foxit over the weekend and I need to change some VBA scripts that has been using the Acrobat API to save png files as pdfs.
It looked like a walk in the park according to the API reference guide provided by the IT department
It even have a convenient section on Converting non-PDF to PDF:
phCreator.ConvertToPDF("D:\image.png", " D:\image.png.pdf")
Easy to understand: Provide source and destination. But that was for Foxit 9 and the version that was installed on my computer is Foxit 10 and the sample code does not work. The API for Foxit 10 is descriped in this guide:
This guide also has a section named Converting non-PDF to PDF but it looks like it does something completely different, opening a guide that convert Excel sheets to PDFs.
Looking through the object browser in Excel I am unable to figure out how to transform a PNG to pdf with Foxit 10. do anyone have a solution?