I am writing app that need embed word document in itself. since I didn’t find any workaround for it in internet and I assume it’s impossible so what is the other suggestion. actually the reason that I need to embed is that I want to prevent user from printing it and files are encrypted on device so app should decrypt it before showing it
What is the best suggestion?
p.s: word files could be change to any format eg OpenXML and for next version App also should be able to show Exel, Pdf and PowerPoint files to user
There is no simple way to accomplish this. It would be very difficult (read impossible) to build your own Word rendering engine into a Store app and there is no out of the box control to do this. The best way to prevent a user from printing an Office doc is to use Information Rights Management on the doc itself. That way, the doc would carry the protection and your Store app would be able to launch Word (or Excel or PowerPoint) to open the doc using the Launcher class.
Per edit: Yes. That is assuming that the user will provide (or you already have) a decryption key for the doc.