Q: How do I remove Acrobat’s Rights Enable info from PDF?
My PDF is not secured with a password it just has the extended rights in reader to allow saving of forms 7 annots.
I’m pretty sure it’s something at cos level that need to be ripped?
A:
You could use the following lines:
// Remove Adobe’s Rights enable dictionary
doc.GetRoot().Erase(“Perm”);
Obj view_prefs = doc.GetRoot().FindObj(“ViewerPreferences”);
if (view_prefs != null) view_prefs.Erase(“Rights”);
…
doc.Save(…)