当使用C#逐段搜索时,如何在word doc中找到图像? [英] How do I find the images in a word doc when searching paragraph by paragraph using C#?

查看:121
本文介绍了当使用C#逐段搜索时,如何在word doc中找到图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在单词应用程序中逐一阅读了段落,但IMAGE内容和表格也被选为段落。任何人都可以通过C#找到用word找到图像的想法吗?

Hi,

I read the paragraph one by one in word application, but the IMAGE content and Table are also selected as paragraph. Can anyone give some idea to find the images in word using C#?

推荐答案

检查下面的链接

自动化:使用C#替换图像 [ ^ ]

如何从word文档中获取图像 [ ^ ]

同时检查 WdInlineShapeType枚举 [ ^ ]对于您可以识别的schapes类型。
check below links
Word Automation: Replace an Image using C#[^]
How to get the images from a word document[^]
Also check WdInlineShapeType Enumeration[^] for the types of schapes you can identify.


这篇关于当使用C#逐段搜索时,如何在word doc中找到图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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