阅读word文档并检测文本和图像 [英] Read word document and detect text and images

查看:83
本文介绍了阅读word文档并检测文本和图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想阅读一个word文档,并检测所有文本和图像,以便在读取文本时将其写入文本文件,如果它在读取图像时将其写入其他内容。

我们将非常感谢任何帮助。

谢谢。



我尝试了什么:



我没有真正尝试过任何东西,我只是想知道它是否可能,并且对我能看到的任何例子都有任何建议。

I want to read a word document, and detect all text and images, so that it writes something to a text file if it reads text and something else if it reads an image, at the time that it is being read.
Any help will be greatly appreciated.
Thanks.

What I have tried:

I haven't tried anything really, I just want to know if its possible, and get any suggestions to any examples I could look at.

推荐答案

您需要使用 Microsoft.Office.Interop.Word namespace() [ ^ ]


这篇关于阅读word文档并检测文本和图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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