如何使用C#在Word文档中读取图像/图片 [英] How Do I Read An Image/Picture In A Word Document Using C#

查看:853
本文介绍了如何使用C#在Word文档中读取图像/图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



我正在尝试使用C#读取word文档中的图像。我试过用Google搜索但是空出来了。请帮助我或指向相关链接。



谢谢。

解决方案

你'我需要使用MSOffice Interop。 请参阅 this [ ^ ]页面的例子。



/ ravi


你还没有尝试过。



请参阅: http://stackoverflow.com/questions/12287908/save-pictures-from-word-to-folder-c-sharp [ ^ ]

Hi all.

I am trying to read an image that is in a word document using C#. I have tried and googled but came out empty. Please assist me on this or point me to a relevant link.

Thanks.

解决方案

You'll need to use MSOffice Interop.  See the 4th answer on this[^] page for an example.

/ravi


You haven't tried enough.

Please see: http://stackoverflow.com/questions/12287908/save-pictures-from-word-to-folder-c-sharp[^]


这篇关于如何使用C#在Word文档中读取图像/图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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