Is it possible to open multiple copies of the same file?

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
RMan
User
Posts: 172
Joined: Tue Jul 02, 2013 10:06 pm

Is it possible to open multiple copies of the same file?

Post by RMan » Wed Feb 20, 2019 7:32 pm

Is it possible to open multiple copies of the same file without us making a copy of the file to a temporary file and opening it from there?

I realize if possible the other copies would be read only but we have a client who wants to open say 10 tabs of the same file.

User avatar
Sasha - Tracker Dev Team
User
Posts: 4188
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Is it possible to open multiple copies of the same file?

Post by Sasha - Tracker Dev Team » Thu Feb 21, 2019 8:09 am

Hello RMan,

Try tight clicking the document's tab - there is a Duplicate command.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

RMan
User
Posts: 172
Joined: Tue Jul 02, 2013 10:06 pm

Re: Is it possible to open multiple copies of the same file?

Post by RMan » Thu Feb 21, 2019 2:04 pm

Thanks. So close but they want to do different markups on all of the copies then print them out and I guess not save them.

User avatar
Sasha - Tracker Dev Team
User
Posts: 4188
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Is it possible to open multiple copies of the same file?

Post by Sasha - Tracker Dev Team » Thu Feb 21, 2019 2:47 pm

Hello RMan,

Try opening two IPXC_Documents and then open them with the Control:

Code: Select all

IPXC_Document doc1 = pxcInst.OpenDocumentFromFile(@"D:\TestFile.pdf", null);
IPXC_Document doc2 = pxcInst.OpenDocumentFromFile(@"D:\TestFile.pdf", null);
pdfCtl.OpenDocFrom(doc1);
pdfCtl.OpenDocFrom(doc2);
Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply