Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27155

    I wanted to use 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
    <br /> <pd4ml:permissions<br /> password="empty"<br /> rights="-2581"<br /> strongEncryption="false" /><br />

    I got rights = -2581 after computing
    0xffffffff ^ PD4Constants.AllowCopy ^ PD4Constants.AllowContentExtraction ^ PD4Constants.AllowPrint<br /> 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.

Viewing 1 post (of 1 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.