Where's the Application object?

We are changing from Microsoft.Office.Interop.Word to Aspose.Word. One of the object we used with the MS version was Microsoft.Office.Interop.Word.Application , but I can not seem to find this in the Aspose.Words.

This is how we were using it:

Word.Application wordApp;
public Word.Application WordApp
{
    get
    {
        if (null == WordApp)
        {
            WordApp = new Microsoft.Office.Interop.Word.Application();
            WordApp.DocumentBeforeClose += new Microsoft.Office.Interop.Word.ApplicationEvents4_DocumentBeforeCloseEventHandler(WordApp_DocumentBeforeClose);
            WordApp.DocumentBeforeSave += new Microsoft.Office.Interop.Word.ApplicationEvents4_DocumentBeforeSaveEventHandler(WordApp_DocumentBeforeSave);
        }
        return WordApp;
    }
    set
    {
        WordApp = null;
    }
}

Then later on we use:

Word.Range mtrange = wordApp.Selection.Range;
wordApp.Selection.Paste();

Thanks in advance,
Scott

Hi Scott,

Thank you for considering Aspose.Words.

When you load a Word document into Aspose.Words, it builds a DOM (Document Object Model) in memory which allows you to programmatically read, manipulate and modify content and formatting of a Word document. You can simply obtain detailed programmatic access to document elements and formatting by using the classes of the Aspose.Words DOM.

Moreover, I would suggest you please read the following article that outlines the usage of Range class in Aspose.Words:
https://docs.aspose.com/words/net/working-with-ranges/
https://reference.aspose.com/words/net/aspose.words/range/

Please let us know if you need more information; we are always glad to help you.

Best regards,