Using a template to create a multipage document

Is it possible to have a doc as a template, stream it into memory, do a replace on certain characters and save it as a new document.
In addition, I will need to do this in a loop adding page breaks in between each document.
Any help would be appreciated.
Thanks,
Joe

I figured out how to replace text in the document using: doc.Range.Replace
I still need to add a page breakā€¦ any help?

Hi
Thank you for your interest in Aspose.Words. If I understood you correctly, you need also merge several documents together. If so please see the following link to learn how to do that:
https://docs.aspose.com/words/net/insert-and-append-documents/
You can use DocumentBuilder to insert breaks into the document. See the following link for more information:
https://docs.aspose.com/words/net/working-with-sections/
Best regards.