Hi,
I would like to know if it is possible to open an existing PDF, assigning new security permissions by setting AllowPrint = false; and then saving this document without merging it with another document?
Thanks in advance,
Apply Security
Re: Apply Security
Support · May 29, 2007Hello,
Yes, you can set Security to an existing PDF document without any problem. You will have to use the MergeDocument class and you can set the security. You can refer to the Security
topic on our help document. You can save the PDF by using the Draw Method of the MergeDocument object.
Thanks,
ceTe Software Support Team.
Re: Apply Security
Forum member · May 29, 2007Hi,
It's me again. Thanks for the quick response to my previous question. I have one more question. Is there any way that I can take away the "Save As" functionality.
I want to dissallow or allow the following based on user permissions:
-Print
-Save
-Edit
-Email
Regards,
Jacques
Re: Apply Security
Support · May 29, 2007Hello Jacques,
It is not possible to remove the Save As option from the file menu using our product. These are Acrobat Reader's functionalities. However you can make the total menu not to visible for your PDF by using the ViewerPreferences property of the document object.
document.ViewerPreferences.HideMenubar = true;
Thanks,
ceTe Software Support Team.