I have a function that populates a word template. It has code that uses the InsertDocument() of Aspose.Words to take content from another word document and insert it into the current. The problem I’m having is, after it does the insert - when I do a builder.Write(“print out some text”), the text does not print after the inserted content since the inserted content only contains images with returns in between them…the printed text printed out in the first empty line instead of knowing where the end of the inserted contents are.
The code sample is below, is there a way to tell the cursor to go after the inserted content and then start printing?
Dim src As Aspose.Words.Document = New Aspose.Words.Document(something) 'Insert into this document Utilities.InsertDocument(builder.CurrentParagraph, src) builder.Write ("Message:") '<-- this needs to print out after the inserted content