如何将文档(.docx)导入richtextbox [英] How to import a documents(.docx) to richtextbox

查看:107
本文介绍了如何将文档(.docx)导入richtextbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Google上搜索了很多关于如何将文档(.docx)导入richtextbox的代码,但唯一可用的是从richtextbox到Microsoft Office。我正在寻找能帮助解决问题的人。此外,当您创建文档到richtextbox然后保存它时,文件将是.docx而不是.rtf。请帮助我:(

解决方案

所有'x'文档'docx','xlsx'等在后台有XML格式,你可以复制有些课程有帮助。



这是一篇关于创建和操作docx的文章



C#:使用DocX以编程方式创建和处理Word文档 [ ^ ]

I have already search a lot of codes in the Google on how import a documents(.docx) to the richtextbox, but the only available is from the richtextbox to the Microsoft office. I'm looking for someone that will help of my problem. And also when you create a documents to the richtextbox then you save it the file will be .docx and not a .rtf. Please help me :(

解决方案

all the 'x' documents 'docx', 'xlsx' etc. have an XML format in the back ground and while you can duplicate that there are classes that help.

Here is a article for creating and manipulating docx

C#: Create and Manipulate Word Documents Programmatically Using DocX[^]


这篇关于如何将文档(.docx)导入richtextbox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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