本文介绍了将DocumentViewer内容保存到MS Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我已经开发了WPF应用程序.该工具将在DocumentViewer中显示报告.

背景:我正在将UserControl内容转换为FixedDocument,然后将其显示在DocumentViewer中.

问题:DocumentViewer具有默认选项以打印内容.但是我们无法将其另存为MS Document或PDF文件.

到目前为止,我的发现:我可以使用XpsDocument将FixedDocument导出到XPS文件.

有什么方法可以将FixedDocument或DocumentViewer内容导出/保存到MS Word文档?

请提出您的意见/建议.


预先感谢,
问候,
Suresh Kumar.B

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,
Regards,
Suresh Kumar.B

推荐答案


这篇关于将DocumentViewer内容保存到MS Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 07:24