Attached are the source PDF (Aspose.Pdf.Kit.PdfContentEditor - ReplaceText.PDF) and the PDF resulting from the ReplaceText operation (Aspose.Pdf.Kit.PdfContentEditor - ReplaceText_merged.PDF).
We have tested the pdf file you attached and found the reason why it can not be replaced . For the text in the pdf file is not text format but image format. So, it can not be replaced.
I made another test converting a Word document to PDF using Aspose.Words and Aspose.Pdf. I tried to replace text on the resulting PDF and it didn’t work. It is Aspose.Pdf saving the text from the Word document to image format?
Following is my code snippet and attached are the original Word document, the converted PDF and the PDF after the ReplaceText operation.
Aspose.Words.Document wordDocument = new Aspose.Words.Document(wordDocumentPath);