Click here to Skip to main content
15,894,106 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
how we can show preview .doc or .docx (word) in wpf applicatons?
Posted
Updated 12-Apr-11 2:03am
v2
Comments
Tarun.K.S 12-Apr-11 8:04am    
That's a good question!

 
Share this answer
 
Comments
Tarun.K.S 12-Apr-11 8:14am    
Perfect should work. 5d and bookmarked!
Manfred Rudolf Bihy 12-Apr-11 8:17am    
Thanks Tarun!
 
Share this answer
 
Hi, here are some alternatives to Office Interop for DOCX files:
- OpenXML + FlowDocument
- Show Word file in WPF

Unfortunately there is no similar solution for DOC (a binary file format).
If you have a relatively small Word document then you can use this .NET Word component for free.
Here is a sample how to show document file in DocumentViewer: http://www.gemboxsoftware.com/SampleExplorer/Document/WPF/ExporttoXpsDocument_DocumentViewerControl[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900