ReplaceText in pdf

Unable to replace text in pdf.

I am using following code.

PdfContentEditor pdfContent = new PdfContentEditor();

try

{

pdfContent.BindPdf(Server.MapPath(@"Template\Input.pdf"));

pdfContent.ReplaceText("MODEL","MODULE");

pdfContent.Save(Server.MapPath(@"Template\Output.pdf"));

}

catch (Exception ex)

{

Response.Write(ex);

}

Please resolve these issue as soon as possible.

Thanks,


This message was posted using Aspose.Live 2 Forum

Hi Aneesh,

Please share the problematic PDF with us, so we could look into this issue.

We’re sorry for the inconvenience.
Regards,

We are sorry for your inconvenience.

Here I am attaching the pdf file that we have used.

PdfContentEditor pdfContent = new PdfContentEditor();

try

{

pdfContent.BindPdf(Server.MapPath(@"Template\WKD_Content_1783.pdf"));

pdfContent.ReplaceText("WIRE","MODULE");

pdfContent.Save(Server.MapPath(@"Template\new.pdf"));

}

catch (Exception ex)

{

Response.Write(ex);

}

Hi Aneesh,

I have reproduced the problem and logged it as PDFKITNET-11241 in our issue tracking system. Our team will be looking into the matter and you’ll be updated via this forum as the issue is resolved.

We’re sorry for the inconvenience.
Regards,

The issues you have found earlier (filed as 11241) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan