What is the easiest to Join and Split Word Documents? What APIs should I use? I would like to have the ability to dynamically combine different documents and present to users as a single document.
Ken
What is the easiest to Join and Split Word Documents? What APIs should I use? I would like to have the ability to dynamically combine different documents and present to users as a single document.
Ken
The basic API methof for moving document parts between documents is Document.ImportNode. The simplest case of combining documents together is described here:
https://docs.aspose.com/words/net/insert-and-append-documents/
You need to have a basic knowledge of Word document structure and how it is represented in Aspose.Words object model. Articles on Aspose.Words object model can be found in our online Wiki documentation. All of this articles are also included into Aspose.Words help file which is part of our evaluation package.
To get a quick impression on how the Word document is represented in Aspose.Words node tree please run our source code DocumentExplorer demo which can be found in C:\Program Files\Aspose\Aspose.Words\Demos\DocumentExplorer directory after installation.
If you have any further questions on this topic please ask them here in this thread. I will be happy to assist you with whatever help I can provide.
Best regards,
Do you have a sample of join 2 words document?
Thanks,
Tan
Hi Tan,
Please consider the following code sample:
https://docs.aspose.com/words/net/insert-and-append-documents/
Feel free to ask if you experience difficulties in implementing this solution.