Free Support Forum - aspose.com

Search string and mask the string in searchable PDF file

Hi Aspose,

I have a searchable pdf file.I would like to search the particular string such as “confidential” and mask of that string. I can find the string using pdf . Is it possible to mask off that string ?


Regards,
Su

Hi Su,


Thanks for your inquiry. You can use RedactionAnnotation for the purpose, search the string and pass its position to RedactionAnnotation for masking. Please check following documentation link, it will help you to accomplish the task.


Please feel free to contact us for any further assistance.

Best Regards,