如何阅读word文档文件? [英] How to read word document file ?
本文介绍了如何阅读word文档文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在该文件中有一个word文档文件我有一些标题,段落和图像
如何逐行读取该文件以及我如何知道标题和段落以及图像是否存在然后它还会保存到数据库中。
我尝试过:
i在该文件中有一个word文档文件我有一些标题,段落和图像
如何逐行读取该文件以及我如何知道标题和段落以及图像是否存在存在然后它也将保存到数据库中。
i have a word document file in that file i have some headings ,paragraphs and image
how to read that file line by line and how i know the heading and paragraphs and image are present if it is present then it will also save into databases.
What I have tried:
i have a word document file in that file i have some headings ,paragraphs and image
how to read that file line by line and how i know the heading and paragraphs and image are present if it is present then it will also save into databases.
推荐答案
参见 Microsoft.Office.Interop.Word namespace() [ ^ ]。 Google还会为您找到示例代码。
See Microsoft.Office.Interop.Word namespace ()[^]. Google will also find you sample code.
这篇关于如何阅读word文档文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文