从word文档中提取图像 [英] Extract image from word document

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

问题描述

嗨朋友

如何在不使用剪贴板的情况下将内嵌形状保存为word文档中的图像



我尝试过:



foreach(AppWord.ActiveDocument.InlineShapes中的Word.InlineShape形状)

{

Shapes.Select();

}

Hi Friends
How to save inline shapes as image from word document without using clipboard

What I have tried:

foreach (Word.InlineShape Shapes in AppWord.ActiveDocument.InlineShapes)
{
Shapes.Select();
}

推荐答案

您可以使用第三方工具完成。检查下面的链接,它可能会帮助你。 OPENXML最适合文档处理。你可以找到很多关于OPENXML的教程。



OPENXML:使用C#导出和调整词语2007嵌入图像



< a href =http://www.c-sharpcorner.com/UploadFile/26b237/image-operations-using-word-document-in-C-Sharp/>在C#中使用Word文档的图像操作

You can do it using third party tools. Check below link, it may help you. OPENXML is best for document processing. You can find lots of tutorial for OPENXML.

OPENXML: EXPORT AND RESIZE WORD 2007 EMBEDDED IMAGES WITH C#

Image Operations Using Word Document in C#


这篇关于从word文档中提取图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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