Dear All,
We are trying to integrate PDF-Xchange Viewer into our SAP solution through the ActiveX / OLE interface. We have installed the “PDF-Xchange PDF Viewer SDK” to load the pdf file and we are successful in calling several functions through ABAP (SAP language). But, right now we are facing a problem while calling the navigation functions (“FirstPage” and “NextPage”). The exception is thrown during the following scenarios:
1. When we are in the last page, and when we try to call the “NextPage” function.
2. When we are in the first page, and when we try to call the “FirstPage” function.
Otherwise, these functions work as expected. Only during the above mentioned scenarios they are throwing the exceptions.
Does anyone know how to solve this problem?
"NextPage" and "FirstPage" function doesn't work correctly
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 2
- Joined: Wed Dec 12, 2012 2:50 pm
-
- Site Admin
- Posts: 19883
- Joined: Mon Jan 12, 2009 8:07 am
Re: "NextPage" and "FirstPage" function doesn't work correct
Hello jpurushothaman,
I believe I've replied to you or one of your colleagues to a very similar question sent to our mail accounts.
Could you please try to provide us with some more information about the exceptions thrown by those two function calls.
Also you should be able to perform checks for the total number of pages, and the current page to be able to detect if you are on the first/last page before calling the problematic methods.
Alternatively as suggested in my mail reply - please try the "RunJavaScript()" method of our Viewer AX, and perform the needed page operations using JS from the JS API for acrobat reference:
http://www.adobe.com/content/dam/Adobe/ ... erence.pdf
Best,
Stefan
I believe I've replied to you or one of your colleagues to a very similar question sent to our mail accounts.
Could you please try to provide us with some more information about the exceptions thrown by those two function calls.
Also you should be able to perform checks for the total number of pages, and the current page to be able to detect if you are on the first/last page before calling the problematic methods.
Alternatively as suggested in my mail reply - please try the "RunJavaScript()" method of our Viewer AX, and perform the needed page operations using JS from the JS API for acrobat reference:
http://www.adobe.com/content/dam/Adobe/ ... erence.pdf
Best,
Stefan