Hello,
in our multi-user application, once a user modifies a document,
the corresponding pdf file is deleted and re-created to let everyone see the updated file.
However, this mechanism is blocked if the pdf is still In-Use.
To open a pdf we use ActiveX control PDFXCviewAx.CoPDFXCview.
Once the pdf is open, it is kept locked and cannot be deleted/modified.
Is there a way to open the pdf in just read-only mode?
We need to avoid the pdf being locked.
I really appreciate any help you can provide.
Alessandro.
Opening pdf in read only mode
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: 17929
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Opening pdf in read only mode
Hello alessandro.borsari,
The Viewer SDK is quite old and I do not have it here for testing but there are get_ and put_ methods for setting a ReadOnly flag for all documents. Please check section
2.5.1.2.3 ReadOnly
of the Viewer AX SDK manual (page 286).
Kind regards,
Stefan
The Viewer SDK is quite old and I do not have it here for testing but there are get_ and put_ methods for setting a ReadOnly flag for all documents. Please check section
2.5.1.2.3 ReadOnly
of the Viewer AX SDK manual (page 286).
Kind regards,
Stefan