摘要: 这里是一些如何得到Office缩略图的步骤:创建一个新的文档,文档可以为任意类型(docx, xlsx, pptx等类型都可以)。保存文档,这里必须注意将"Save Thumbnail"勾上,否则不能产生缩略图效果。接下来将API封装成一个类,方便使用。using System;using System.Diagnostics;using System.Drawing;using System.IO;using System.Runtime.InteropServices;using System.Text;public class ShellThumbnail : IDi 阅读全文
posted @ 2011-03-07 15:34 C.Jun 阅读(568) 评论(0) 推荐(0) 编辑