asp.net(C#)转换为jpg(gif) [英] asp.net(C#)convert word to jpg(gif)

查看:89
本文介绍了asp.net(C#)转换为jpg(gif)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将ppt或word或pdf的第一页转换为图像(jpg或gif或png)

how to convert the first page of ppt or word or pdf to image(jpg or gif or png)

推荐答案

阅读第一页
将内容绘制到图像
保存图像

您可以通过搜索找到如何做的第一部分. PowerPoint和Word文档不是开放格式,因此您可能需要使用MS COM组件才能获取内容.从技术上讲,PDF是很难的,但是如果没有第三方组件来为您完成准确的表示,仍然很难.

然后,其他两个部分是Image的琐碎用途.
Read first page
Draw contents to image
Save image

You can find how to do the first part by doing a search. PowerPoint and Word documents are not open formats, so you probably need to use the MS COM components to get the content out. PDF is, technically, but it''s still very difficult to get an accurate representation without a third party component to do it for you.

The other two parts are then trivial uses of Image.


hi

这是我的第一页演示




130 ....
hi

this is my first page demo




मुख्यमंत्री श्री शिवराज सिंह चौहान ने आज बालाघाट जिले के लालबर्रा में 130 ....


这篇关于asp.net(C#)转换为jpg(gif)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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