开发者

iTextSharp removeUsageRights stopped working

开发者 https://www.devze.com 2023-02-18 22:49 出处:网络
I\'ve been using the code sample from iText in Action (8.7.2)to deal with the \"cannot save\" issue with PDF forms and iTextSharp. It w开发者_运维问答as working fine, but recently the fix stopped work

I've been using the code sample from iText in Action (8.7.2) to deal with the "cannot save" issue with PDF forms and iTextSharp. It w开发者_运维问答as working fine, but recently the fix stopped working and all the variations of the code listed in the book to prevent the saving problem haven't solved it.

I'm using the latest version of the iTextSharp library. Has anyone else run into this? Did an Acrobat update break it?


works for me using iTextSharp 5.0.6, Reader X, and Listing 8.29 ReaderEnabledForm from the book. (it's the file named 'xfa_preserved.pdf' in the zip download)

IIRC the last couple of times i saw similar on the mailing list, the problem was specific to how the original PDF was created. if you subscribe, you can post the original PDF and hopefully one of the experts can take a look if they have time.

0

精彩评论

暂无评论...
验证码 换一张
取 消