I am interrogating the settings of the Security tab of the document
properties for a pdf file, using (for example)
PdfEncryptor.IsPrinitngAllowed()
If I set Password Security and set a Change Permissions Password -
PdfEncryptor.IsPrinitngAllowed() returns the correct value.
That is: if I set Printing Allowed PdfEncryptor.IsPrinitngAllowed() returns
true, if I set Printing not allowed PdfEncryptor.IsPrinitngAllowed() returns
false.
However, if I set No Security, which automatically sets Printing allowed,
without changing any code PdfEncryptor.IsPrinitngAllowed() now returns
false.
The same applies to the other settings, ie: Changing the Document, etc.
Am I misunderstanding the function?
Kind regards
William
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php