Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Automatically Remove Text & Save PDF

New Here ,
Oct 11, 2017 Oct 11, 2017

Hello,

I'm trying to find out if it is possible to setup a process where we can mark an area of interest and have any text that appears in that area removed and the PDF re-saved. This would need to be something that can be automated.

Any help is greatly appreciated.

Thanks!

TOPICS
Edit and convert PDFs
2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Oct 12, 2017 Oct 12, 2017
LATEST

The documentation is available here: Adobe - Acrobat Developer Center | Adobe Developer Connection

The methods you need to use are addAnnot to create the Redaction annotation and applyRedactions to apply it, both are a part of the Document object.

I've written many scripts that do similar things for my clients, so if you're interested feel free to contact me privately (try6767 at gmail.com) and we could discuss it further.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2017 Oct 11, 2017

This can be done using the Redaction tool. You can use it as a part of an Action (in Acrobat Pro) to redact multiple terms and then save the file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2017 Oct 11, 2017

If you want to redact an area instead of specific words that can also be done, but it requires using a script to create the Redaction annotation, apply it and then save the file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 12, 2017 Oct 12, 2017

Thanks for the replies. It would need to be a specific area.

Are you able to point to documentation on the method you described?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 12, 2017 Oct 12, 2017
LATEST

The documentation is available here: Adobe - Acrobat Developer Center | Adobe Developer Connection

The methods you need to use are addAnnot to create the Redaction annotation and applyRedactions to apply it, both are a part of the Document object.

I've written many scripts that do similar things for my clients, so if you're interested feel free to contact me privately (try6767 at gmail.com) and we could discuss it further.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines