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

Free Support Forum - aspose.com

Replace function now overloaded upgrading from 2011 version to 21.8.0.0

Hi,
I’m upgrading an aspx ,Net project from the Aspose.Words.dll (2011) to the 21.8.0.0 verion. I’ve just replace the old .dll with the new .dll where it’s referenced in the project and then altered the location of the .lic file to the new filename \Aspose.Words.NET.lic".
The new version now does what we want it to do (copies new docx files to pdf without complaining of corruption). However, our old page errors with the following message saying the Replace function of the Document object now has too many parameters.
What would be the best way to proceed to that this function would still work.
Many thanks
Colin

image.png (26.3 KB)

@RWHTravelIT

The find and replace APIs had been changed. Please check the API changes from here:

We suggest you please check the code examples in the following article.