We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Redaction not working

Hi,

This feature is not working for me. RedactCertainPageRegionWIthRedactionAnnotation.
Your example does a search and replaces the word with annotation fine but the text does not get overlaid. As such, I hover over the annotation and it displays dynamically properly but once the mouse leaves we can see the original text.

I was under the impression that redaction should have a permanent replacement using
annot.setOverlayTex(“REDACTED”);

@george.soto,
We have tested the redact feature with a sample PDF document and could not find the said behavior in our environment. Please refer to the input and output PDF documents: input.pdf (83.4 KB) and RedactPage_out.pdf (85.3 KB). Kindly send us the complete details of the use case, including source PDF, code and let us know which Aspose.Pdf for .NET API version you are using. We will investigate and share our findings with you.