I wanted to use <pd4ml:permissions> tag to prevent printing, modifying, saving etc and for some reason it is not working.
In particular, I wanted to prevent saving the PDF created.
My code was like
I got rights = -2581 after computing
0xffffffff ^ PD4Constants.AllowCopy ^ PD4Constants.AllowContentExtraction ^ PD4Constants.AllowPrint
which gave -2581
Do you guys find why it's not working as expected?
Is 'PD4Constants.AllowCopy' same as saving the PDF?
What would be the correct "rights" integer value to preventing the PDF to be saved?
Thanks a lot for your pointers and help. I appreciate.