Combinig two templates into one document

Hi

I am doing a proof of concept using ASPOSE WORD.I have multiple templates, I want to be able to combine these templates in to one document for the end user. The templates will be combined based on the user selection from a checkboxlist. Can you please give me some direction on how to do this, I am going to present it tommorow for the users.

Thanks

Hi
Thanks for your request. Try to use the following code.

Document doc1 = new Document(@"in1.doc");
Document doc2 = new Document(@"in2.doc");
InsertDocument(doc1.FirstSection.Body.LastParagraph, doc2);
doc1.Save(@"out.doc");

The InsertDocument method you can find at:
https://docs.aspose.com/words/net/insert-and-append-documents/
I hope that it will help you.
Best regards.