如何在win表单中显示word文档? [英] How to display word document inside win forms?

查看:85
本文介绍了如何在win表单中显示word文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在win窗体中显示word文档(windows窗体)而不需要安装办公室文字。我也支持在web浏览器控件上将word文档转换为HTML和HTML渲染。



我尝试了什么:



我尝试将文档转换为HTML并在Web浏览器控件上呈现HTML但有些错误文档没有正确加载。

I want to display word document inside win forms(windows forms) without install office word.I have also support word document convert to HTML and HTML render on web browser control.

What I have tried:

I try to word document convert to HTML and HTML render on web browser control but some error document not loading properly.

推荐答案

这是许多其他人多年来需要的要求。 Google搜索是了解其他开发者如何自行解决问题的绝佳方式。



以下是我使用的Google搜索:如何在winform app中显示word文档? - Google搜索 [ ^ ]



它出现了这个: c# - 如何显示PDF或WinForms窗口中Word的DOC / DOCX? - 堆栈溢出 [ ^ ]



TL; DR ...导致这一点:编码灯:简单的DocBrowser控件 [ ^ ]



如果您对此开发人员的方法不满意,那么还有很多其他人使用上面的搜索链接编程和以其他方式解决了任务。
This is a requirement that many others have needed over the years. Google Search is a great way of finding how other developers have "solved" the problem themselves.

Here is a Google search that I used: How to display word document inside winform app? - Google Search[^]

It turned up this: c# - How to display PDF or Word's DOC/DOCX inside WinForms window? - Stack Overflow[^]

TL;DR... which lead to this: Coding Light: A Simple DocBrowser Control[^]

If you are not happy with this developer's approach, then there are many others, using the search link above, that have "programmed" and "solved" the task in other ways.


这篇关于如何在win表单中显示word文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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