We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Security.AllowPrint does not seem to work

Thread ID:





46105 Jul 5,2006 10:08 PM Jul 12,2006 04:47 AM Windows Forms 3
Tags: PDF
Asked On July 5, 2006 10:08 PM

Hi everyone I am new to syncfusion - essential PDF. I have made a lot of progress using it and have found it very effective. One function which seems very simple does not appear to work. I''m creating a PDFDocument Object in memory and drawing various things on it (boxes, images, text, etc). I then need to set the PDFDocument.Security.AllowPrint method to False. I do this, yet I can always print within Adobe... Any thoughts... I can''t believe I got the hard stuff done; yet this simple call does not appear to work??? Thanks Matt

Ajish [Syncfusion]
Replied On July 6, 2006 06:49 AM

Hi Matt, I am afraid; I was unable to reproduce the issue. Allow Print property seem to work fine. Here is a sample that I used to test this issue. Sample: Security.zip Please take a look at the sample and let me know if the problem still exists, if so can you please modify the sample and send me. So that I can reproduce the issue and investigate further on this. Thanks, Ajish.

Replied On July 10, 2006 09:07 PM

Hi, thanks for the sample. I noticed in your sample that you were setting the security immediately after you instantiate the PDFDocument object. I was setting it last. I moved the security setting code to the very beginning and it works perfectly! Thanks Matt

Ajish [Syncfusion]
Replied On July 12, 2006 04:47 AM

Hi Matt, Thank you for the update. Thanks, Ajish.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.