Hi there everybody,
I’m cannot find how to insert Line Breaks with the .Replace() method of the Document.Range class.
For example, I have a .dot model document containing the string “\n” several times. I open it with the following code:
Dim doc As Aspose.Words.Document = New Aspose.Words.Document(“MyDoc.dot”)
Then as said I wish to replace the “\n” instances by a Line Break:
doc.Range.Replace("\n", BreakType.LineBreak, False, False)
But it does nothing… What does I have missed?