Click here to Skip to main content
15,850,685 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

I have developed a WPF application. This tool will display the report in DocumentViewer.

Background: I am converting a UserControl content in to a FixedDocument and then displays it in the DocumentViewer.

Problem: The DocumentViewer has the default option to print the content. But we cannot save it as a MS Document or PDF file.

My findings so far: I can export the FixedDocument to a XPS file using XpsDocument.

Is there any way to export/save the FixedDocument or DocumentViewer content to a MS Word document?

Please give your openion/suggestions.

Thanks in advance,
Suresh Kumar.B

1 solution

Short answer: not possible without a third party utility or MS Word in your client/server. The framework itself doesn't do that. Look for ITextPdf for a free Framework option.
Share this answer
sureshb_07 10-May-12 2:03am    
Even converting FixedDocument to MS Word document requires a third-party utility? Is there any COM/.NET libraries available to perform this task?

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