Free Support Forum -

Combinig two templates into one document


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 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);


The InsertDocument method you can find at:

I hope that it will help you.

Best regards.