摘要: 1.把word文档转换成pdf(1).添加引用1 using Microsoft.Office.Interop.Word;添加引用(2).转换方法 1 /// 2 /// 把Word文件转换成pdf文件 3 /// 4 /// 需要转换的文件路径和文件名称 5 /// 转换完成后的文件的路径和文件名名称 6 /// 成功返回true,失败返回false 7 public static bool WordToPdf(string sourcePath, string targetPath) 8 { 9 bool resu... 阅读全文
posted @ 2014-01-10 13:56 浪漫书缘 阅读(862) 评论(1) 推荐(2) 编辑