PDFUseSecurity in .net

 Hi there;

I have created a .net project to convert some documents to pdf using PDFCreator api. all works fine apart from the PDFUseSecurity option...

I want  my pff file not to be modified and printed. I have set the

PDFUseSecurity =1;

opt.PDFDisallowPrinting= 1;

 

but the print button is still active... is there anything I am missing?

thanks

Regards