PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Security - Block Save As Button
https://forum.pdfsharp.net/viewtopic.php?f=2&t=650
Page 1 of 1

Author:  Chiwawa [ Fri Feb 20, 2009 3:35 pm ]
Post subject:  Security - Block Save As Button

Hello,

Is there a way to disable the Save As button in a pdf document just like we do with the printing button : .SecuritySettings.PermitPrint = False

If not we have to hide the menubar. But if we do, then to print they have to right-click and select Print.

Author:  chapas [ Wed Jun 24, 2009 5:07 pm ]
Post subject:  Re: Security - Block Save As Button

Hello,
i was having the same problem. Just define the OwnerPassword write only property.

ex:
document.SecuritySettings.OwnerPassword = "noPrintingAllowed"

chapas

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/