How to create a Word document from a Silverlight 4 application
- by George Durzi
I'm looking for some options to programmatically create a Word document from within a Silverlight 4 application. I found two approaches which seemed promising at first but don't look like they will work.
OpenXML SDK
The OpenXML SDK isn't available for Silverlight at this time.
Word Automation via COM Interop
dynamic wordApplication = AutomationFactory.CreateObject("Word.Application");
Apparently this requires that the Silverlight 4 application be granted permission to run with elevated privileges, which is only available for out-of-browser applications (which ours isn't)
My other thought is to hand off the request to a back-end service which doesn't have these limitations. Wanted to check for any ideas before going down that path.
Thank you!