This content has been marked as final.
Show 1 reply
-
1. Re: changing pdf templates
George_Johnson Nov 4, 2012 10:49 AM (in response to espo_74)Instead of cropping, it would be better to redact the outdated content. You can then use add the new content by adding a background. This assumes the copyright info and logo are in the same locations on each page or each document. This can be done via scripting in a batch process.
To redact, add a redaction annotation using the doc.addAnnot method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.434.html
and apply them using the doc.applyRedactions method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.445.html
To add the background, you'd use the doc.addWatermarkFromFile method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.442.html


