iam playing around with the NetOffice Wrapper and trying to access the Word Editor of an Outlook Mailitem.
Previously i was using
MailItem mItem = (MailItem)inspector.CurrentItem;
Microsoft.Office.Interop.Word.Document docx = mItem.GetInspector.WordEditor;
Microsoft.Office.Interop.Word.Selection selected = docx.Windows[1].Selection;
which is working. Now with NetOffice i was trying
Word.Document docx = mItem.GetInspector.WordEditor;
which tells me that object cannot be converted to Word.Document. using
Word.Document docx = mItem.GetInspector.WordEditor as Word.Document;
is telling NetOffice.WordApi.Document cannot be embedded.
Does anybody know, how i can access the WordEditor with NetOffice. Thank you for your help.
Stefan