Remove OCR text hidden from "PDF Searchable Image (Exact)" file

Currently I was wondering whether there was a way to remove all text from the layer underneath the scanned image (the searchable text layer /ocrtext layer) in a "PDF Searchable Image (Exact)" file ?

If so was there any C# code examples to do such a thing. Basically remove the Text Layer our of the pdf file. And then save it as a new pdf file.

Thanks in advance

Mark

[Smile [:)]

Dear Mark,

There is not a API in Aspose.Pdf. Kit directly designed to support the funtion you need.

As a possible solution, please try the PdfContentEditor.ReplaceText Method at PdfContentEditor.ReplaceText | Aspose.PDF for .NET API Reference.

Best regards,