Hello,
Currently when a user extracts pages to a new file the pdf viewer then displays the new file of extracted pages. Is there a property I can use to suppress that?
I believe the post below was also asking for the same thing.
Please see https://forum.pdf-xchange.com/ ... 35&t=12740
Thanks for your time.
extracting pages causes viewer to display the new file
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: extracting pages causes viewer to display the new file
Hello ap_mi,
I am afraid that there's no way to suppress that when the Viewer UI is used. If you want to do the process silently in the background - do it via code and not with the UI.
In the Editor - the Extract pages process will just to the extraction and not load the file automatically:
https://sdkhelp.pdf-xchange.com/vie ... tractPages
Regards,
Stefan
I am afraid that there's no way to suppress that when the Viewer UI is used. If you want to do the process silently in the background - do it via code and not with the UI.
In the Editor - the Extract pages process will just to the extraction and not load the file automatically:
https://sdkhelp.pdf-xchange.com/vie ... tractPages
Regards,
Stefan
Re: extracting pages causes viewer to display the new file
Do you think there's a way to do this with the use of the OnEvent event handler?
I've started experimenting by closing the second document (Documents[1]) by doing a DoVerb("Documents[1]", "close", DataIn, DataOut, 0) when the Documents.Active event occurs, but when I do this the whole viewer freezes.
Any ideas?
Thanks.
I've started experimenting by closing the second document (Documents[1]) by doing a DoVerb("Documents[1]", "close", DataIn, DataOut, 0) when the Documents.Active event occurs, but when I do this the whole viewer freezes.
Any ideas?
Thanks.
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: extracting pages causes viewer to display the new file
Hello ap_mi,
Make sure that you obtain and use the correct Document ID (not index), and they should then close properly:
https://help.pdf-xchange.com/DEV/de ... xactphrase
Regards,
Stefan
Make sure that you obtain and use the correct Document ID (not index), and they should then close properly:
https://help.pdf-xchange.com/DEV/de ... xactphrase
Regards,
Stefan