I am trying to create a Word document using Aspose.Words. After creation of the Word document, does it make sense to open the document for the user to view? Most of the examples show the file being saved to disk.
Thanks for your request. You can use Process.Start to open generated document in MS Word. For instance, see the following code:
// Save document string fileName = @"Test137\out.doc"; doc.Save(fileName); // Open document in MS Word Process.Start(fileName);
If you would like just show document preview, you can save the document to image. See any of Aspose.Words demos and select "Rendering - View Document Pages as Images in the Browser "
Also, you can use XPS to achieve the same:
Hope this helps.