01-13-2021 04:29 AM
Hello,
I'm using Active X to open and view a PDF document within a dialog box on the LabVIEW front panel.
I've successfully loaded a PDF file and can change the page to the next or previous page using the IAcroAXDocShim method...
But, there is no method for getting the current PDF page (and other commands available in the API.
Is there a way to create custom commands to get the page number (and more...)
Thanks,
Boris
01-14-2021 03:19 AM - edited 01-14-2021 03:36 AM
Hi Boris,
I found the Adobe Interapplication Communication API Reference document that seems to be right for you. The methods offered by the LabVIEW invoke node (those associated with the AxAcroPDF object) are described starting from page 106, but if you find a way to implement the GetPageNum method of the AVPageView object (page 50) you are OK. Unfortunately, I don't have time currently to look into this in more detail, but I hope this helps you move forward.
Regards,
Alessia
UPDATE: According to this thread, I'm afraid that what you want to do can't be done. 😞