Hello,
I’m fighting an issue I have here (PDF text replace not wrapping to a new line) and until a fix is implemented, I’m trying to approach my problem another way.
My goal is to find and replace text in a document. Then after I have gone through the document and replaced all text I wish to, I need to then go back through the document and find the position of other text. The reason I don’t know the position of the text up front is because during the find/replace process it could have shifted other text around, so I need to find the position of the text AFTER I have performed my find and replace.
Aspose.Pdf has a way to find the position of text, but has a bug with find/replace (again, refer to thread link above). Aspose.Word seems to replace text and re-arrange text as I expect, but does not seem to let me find the position of a word.
Is there a way I can get Aspose.Word to find/replace text in a document AND find the position of it? Either pixel position, or the relative position on the page. I really don’t care which, I just need one!