PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)
Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
if I load a document A.pdf and open another document named B.pdf, the navigation element (green buttons) "previous" gets active.
In my case, the document A.pdf does not exist anymore because it was just a temporary file.
Now the user clicks on the "previous" command and gets an error that A.pdf does not exist. That's true but not what I want.
I tried to clear the DocumentOperationHistory (Global::OperationsHistoryChanged got raised) using:
The best overloaded method match for 'Roesberg.PDF.Base.AxCoPDFXCview.DoDocumentVerb(int, string, string, object, out object, int)' has some invalid arguments
Argument 5: cannot convert from '<null>' to 'out object'
With my source code the history will be cleared. Undo/Redo will be disabled after that clear. But the previous/next commands are still enabled.
Tracker Supp-Stefan wrote:
So can you check if it works this way - and if not we will check tis further.
I tried to clear the DocumentOperationHistory (Global::OperationsHistoryChanged got raised).
Why have you decided that document navigation features "back"/"forward" are the same as "Undo"/"Redo" features?
Currently the "ClearViewHistory" feature is inaccessible for developers, you can disable "back"/"forward" only. To disable it use:
I don't get it to work. If I close the active document and open another, the back button is still active.
Also I tried to disable the "GoBackDoc"/"GoForwardDoc" commands. Nothing changed.