Skip to main content
Correct answer Thom Parker

If all you need is the highlights, and not the comment related functionality, the try flattening before redacting. 

2 replies

Thom Parker
Community Expert
Community Expert
January 10, 2020

What do you mean by highlighted text? is it a highlight annotation? or a graphic in the page content?

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
wellsie77
wellsie77Author
Participant
January 10, 2020

No, just plain old highlighted text - when select text and hit the Highlight button. 

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
January 10, 2020

If all you need is the highlights, and not the comment related functionality, the try flattening before redacting. 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
January 10, 2020

A redaction will remove anything that's underneath it. There's no way around that.

wellsie77
wellsie77Author
Participant
January 10, 2020

Thank you. I did two rounds of highlighting and redacting the long document, only to lose all the highlighting once I hit Apply! The first time I thought maybe I did something wrong. And when you try to do it the other way (redact first, then highlight), you find that you can't select any text now because somehow it got converted to non-text. 

My workaround was to redact it first, save it, run OCR and then highlight. That seemed to work.