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

Free Support Forum - aspose.com

Line wrapping when using find and replace in PDF

I am trying to do a relatively simple find and replace in a PDF file using Java. I have used the examples given on this site, but I find that when I replace a short piece of text in the middle of a sentence with one that is longer, it does not wrap the line, and instead just pushes it right off the side of the page.


Is there a working example for Java that demonstrates find and replace with text wrapping?

Thanks!

Hi,


Thanks for contacting support.

Can you please share the resource file causing this problem, so that we can test the scenario in our environment. We are sorry for your inconvenience.