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

PDF-XChange Editor SDK for Developers

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

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: 221
Joined: Tue Jul 02, 2013 10:06 pm

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

Post by RMan »

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.
Sasha - Tracker Dev Team
User
Posts: 5522
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 »

Hello RMan,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

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

Post by RMan »

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.
Sasha - Tracker Dev Team
User
Posts: 5522
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 »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply