Page 1 of 1
annotation security setting
Posted: Fri Jul 09, 2010 3:18 pm
by fabrizio
Hi, I would like to change some security settings on a PDF document through code using PDF-XChange ActiveX component, but I can't find any suitable method for doing that in the ActiveX manual. I only found the IsOperationGranted by which I can get information on permissions on the pdf. Is there a way of doing such a thing? In particular I would like to change Summarize (annotations) property on that document in order to highlight or comment it. I can already do it calling Property Window -> Security and then managing security options. But is there a way to unlock annotations security setting by code?
Thank you in advance.
Regards
Fabrizio
Re: annotation security setting
Posted: Fri Jul 09, 2010 3:47 pm
by Vasyl-Tracker Dev Team
Hi, Fabrizio.
I'm afraid, it is impossible in current realization.
But we planning to implement functionality for document security changing in the near future, wait some weeks...
Best
Regards.
Re: annotation security setting
Posted: Sat Jul 10, 2010 10:58 am
by michipapa
@Tracker
Can you please add a function to save annotations in dependence of the author ?
We need such a feature to implement a inspection of technical drawings in our software.
Every user must see all annotations , but only save his own.
thx
Re: annotation security setting
Posted: Wed Jul 14, 2010 7:56 am
by fabrizio
I'm afraid, it is impossible in current realization.
But we planning to implement functionality for document security changing in the near future, wait some weeks...
Hi Vasyl, thank you for the answer. Do you think there will be a new release of the SDK with these new features before september?
Thanks
Fabrizio
Re: annotation security setting
Posted: Wed Jul 14, 2010 12:02 pm
by Vasyl-Tracker Dev Team
Hi, Fabrizio.
Do you think there will be a new release of the SDK with these new features before september?
Answer is - yes.
Cheers.
Re: annotation security setting
Posted: Wed Jul 14, 2010 7:09 pm
by fabrizio
thanks
Re: annotation security setting
Posted: Wed Jul 14, 2010 10:02 pm
by Paul - Tracker Supp
our pleasure
Re: annotation security setting
Posted: Mon Sep 12, 2011 3:04 pm
by jphilipp
I need a function to modify document security settings too. Is it already realized? I havn't found it in API documentation.
Best Regards,
Jörg.
Re: annotation security setting
Posted: Mon Sep 12, 2011 3:52 pm
by Vasyl-Tracker Dev Team
Hi, Jörg and Fabrizio.
Currently you may use one possibility only:
Code: Select all
ctrl.DoDocumentVerb(docId, "", "RemoveSecurity", NULL, NULL, 0);
- it removes all document's security restrictions, but document should be opened with owner password, for details look to SDK-help,
Otherwise you must use our PDF-Tools SDK at this time to be able to modify/set Security options on existing PDF files.
HTH.
Re: annotation security setting
Posted: Mon Sep 12, 2011 4:44 pm
by jphilipp
Hi Vasyl,
I want to extract some pages from a large PDF, displayed with ActiveX Viewer, and save them to a file. This new file should have restricted access to the document content, but no open password. The large source PDF has an open password, but no other restrictions.
Can I combine ActiveX Viewer and PDF-Tools to achieve this?
Is there another way to realize this?
Is a function to modify document security settings planned for ActiveX Viewer?
Best regards,
Jörg.
Re: annotation security setting
Posted: Mon Sep 12, 2011 5:34 pm
by Vasyl-Tracker Dev Team
Hi, Jörg
I want to extract some pages from a large PDF, displayed with ActiveX Viewer, and save them to a file. This new file should have restricted access to the document content, but no open password. The large source PDF has an open password, but no other restrictions.
Can I combine ActiveX Viewer and PDF-Tools to achieve this?
You may use our ActiveX to extract pages to an external file and use the PXC_EnableSecurity(), PXC_SetPermissions() to setup security permissions for result-document from the PDF-Tools SDK ...
Is a function to modify document security settings planned for ActiveX Viewer?
Yes, with the V3 SDK you will be able to change/remove a document's security.
Please wait for the new version V3 for this feature...
Best
Regards.
Re: annotation security setting
Posted: Tue Sep 13, 2011 11:43 am
by jphilipp
Thanks
Re: annotation security setting
Posted: Tue Sep 13, 2011 12:58 pm
by Tracker Supp-Stefan