Free Support Forum - aspose.com

Creating a new instance

ok, I’m trying to figure out how to work this. What I would like to do is open a word document through aspose, and then get the mergefields out of the document. I have figured out how to do the latter, but I can’t figure out how to open an existing word document. Could somebody just jot down a little code to show how to create an instance of aspose, then open a document. Thanks

Hi,

There is plenty of examples in the demo projects source code and in the documentation.
Here is one http://www.aspose.com/Products/Aspose.Word/Api/Aspose.Word.Document.html.