如何在C#中将doc转换为jpg? [英] how coonvert doc to jpg in c#?

查看:66
本文介绍了如何在C#中将doc转换为jpg?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在c#中将文档转换为jpg?

how coonvert doc to jpg in c#?

推荐答案

这是一个很愚蠢的问题:它们根本不是一回事. 文档是基于文本的,可编辑的,可格式化的单词序列,而jpg是图像.

为了进行转换,您必须将文档打印到图像中,然后将其保存到文件中.
这就带来了许多问题:在格式化并打印带有所有相关字体,图像,嵌入式表格等的文档之前,您不一定知道图像的大小. >
您想达到什么目的,以为您需要这个?
That is a fairly silly question: they are not the same thing at all.
A document is a text based, editable, formatable sequence of words, while a jpg is an image.

In order to convert it, you would have to print the document into an Image, and then save it to file.
That gives a number of problems: You don''t necessarily know how big the image is going to be until you have formatted and printed your document with all it''s associated fonts, images, embedded tables,...

What are you trying to achieve, that you think you need this?


这篇关于如何在C#中将doc转换为jpg?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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