如何从 Silverlight 应用程序创建(和显示)MS-Word 文档 [英] How do I create (and display) a MS-Word document from a Silverlight application

查看:43
本文介绍了如何从 Silverlight 应用程序创建(和显示)MS-Word 文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试确定是否可以应对 Silverlight 不支持打印的事实.一种选择是创建一个 ms-word 文档,然后将其加载到 word 中,以便用户打印.

I am trying to decide if I can cope with the fact that Silverlight does not support printing. One option is to create a ms-word document and then load it into word, so the user can print it.

这还有一个好处,我可以使用word文档作为输出模板,让用户控制字体等

This also have the advantage that I could use a word document as a template for the output, so letting the user control type faces etc.

这有多实用?

(我还不知道关于 Siverlight 的匹配,在我开始详细学习之前,我正在尝试确定它是否是应用程序的一个选项)

(I don’t know match about Siverlight yet, I am trying to decide if it is an option for the application before I start learning it in detail)

我希望现在这个问题有一个很好的答案——无论是用户安装了 word 还是没有安装 word.由于这个问题得到了很多人的关注,因此有一个代表可以给出一个好的答案.

I hope by now that there is a good answer to this question - both when the user has word installed and when they don't. As this question gets lots of view, there is rep to be head by a good answer.

推荐答案

只是为了评论这个.Silverlight 4 支持打印,还支持本地安装的应用程序的 COM 自动化.

Just to comment on this. Silverlight 4 supports printing and it also supports COM automation for applications installed locally.

这篇关于如何从 Silverlight 应用程序创建(和显示)MS-Word 文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆