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

Free Support Forum - aspose.com

Replace function in Apose.pdf.kit

Hi,

Im trying to get info on pdf editers for asp.net. We need to be able to load a pdf into the Aspose.Pdf class and do a search and replace for example:

replacing [fullname] with Alex Hooley thoughout the pdf.

Please can you tell if this is possible with Aspose.Pdf and how easy it is. Any code examples would be great for me to start playing around with a demo version.

Regards
Alex Hooley

alexhooley@access2.co.uk

Hi Alex,

Aspose.Pdf.kit provides a set of features to edit existing pdf files, and its PdfContentEditor class has a method called ReplaceText which can provide this kind of functionality. However, this feature is in beta and may be supported well for some file. Nevertheless, do check out if it working with your files.

To get an idea about this feature and an example as well, please visit this below link in the documentation section:

http://www.aspose.com/documentation/file-format-components/aspose.pdf.kit-for-.net-and-java/aspose.pdf.kit.pdfcontenteditor.replacetext.html

If you have any other queries, or find some issue please do let us know.

Regards,