使用Aspose组件文档转图片

上传者: luomingui | 上传时间: 2019-12-21 20:14:15 | 文件大小: 23.45MB | 文件类型: zip
使用Aspose组件文档转图片 Console.WriteLine("========文件转图片开始========"); try { ArrayList alist = new ArrayList(); alist.Add("temp_pdf.pdf"); alist.Add("temp_ppt.ppt"); alist.Add("temp_pptx.pptx"); alist.Add("temp_doc.doc"); alist.Add("temp_docx.docx"); alist.Add("temp_xls.xls"); alist.Add("temp_xlsx.xlsx"); for (int i = 0; i < alist.Count; i++) { try { string pdfFilePath = alist[i].ToString(); FileInfo pdfFi = new FileInfo(pdfFilePath); string filepath = pdfFi.FullName; Console.WriteLine("正在转换" + pdfFilePath + "文件..."); AsposeFileToImg.FileToImg(filepath); } catch (Exception) { } } } catch (Exception ex) { Console.WriteLine(ex.ToString()); } Console.WriteLine("========文件转图片结束========"); Console.Read(); }

文件下载

资源详情

[{"title":"( 34 个子文件 23.45MB ) 使用Aspose组件文档转图片","children":[{"title":"PdfOrImg","children":[{"title":"PdfOrImg","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"temp_docx.docx <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"temp_docx","children":[{"title":"temp_docx_2.jpg <span style='color:#111;'> 47.31KB </span>","children":null,"spread":false},{"title":"temp_docx_1.jpg <span style='color:#111;'> 47.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"temp_xlsx.xlsx <span style='color:#111;'> 8.60KB </span>","children":null,"spread":false},{"title":"temp_xls.xls <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"Lib","children":[{"title":"Aspose.Words.tlb <span style='color:#111;'> 315.38KB </span>","children":null,"spread":false},{"title":"Aspose.Slides.xml <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false},{"title":"Aspose.Pdf.dll <span style='color:#111;'> 27.58MB </span>","children":null,"spread":false},{"title":"Aspose.Pdf.xml <span style='color:#111;'> 1.91MB </span>","children":null,"spread":false},{"title":"Aspose.Cells.xml <span style='color:#111;'> 1.47MB </span>","children":null,"spread":false},{"title":"Aspose.Slides.dll <span style='color:#111;'> 20.65MB </span>","children":null,"spread":false},{"title":"Aspose.Words.idl <span style='color:#111;'> 462.91KB </span>","children":null,"spread":false},{"title":"Aspose.Cells.dll <span style='color:#111;'> 7.06MB </span>","children":null,"spread":false},{"title":"Aspose.Words.xml <span style='color:#111;'> 727.88KB </span>","children":null,"spread":false},{"title":"Aspose.Words.dll <span style='color:#111;'> 6.29MB </span>","children":null,"spread":false}],"spread":true},{"title":"temp_ppt.ppt <span style='color:#111;'> 418.50KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"temp_docx.docx <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"PdfOrImg.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.43KB </span>","children":null,"spread":false},{"title":"PdfOrImg.exe <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"PdfOrImg.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"Interop.AcroPDFLib.dll <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"temp_pdf.pdf <span style='color:#111;'> 1.22MB </span>","children":null,"spread":false},{"title":"PdfOrImg.csproj <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"Aspose.Words.idl <span style='color:#111;'> 462.91KB </span>","children":null,"spread":false},{"title":"PdfOrImg.csproj.user <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"AsposeFileToImg.cs <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"temp_doc.doc <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"temp_pptx.pptx <span style='color:#111;'> 50.50KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"PdfOrImg.suo <span style='color:#111;'> 44.50KB </span>","children":null,"spread":false},{"title":"PdfOrImg.sln <span style='color:#111;'> 866B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • seu_nuaa_zc :
    Excel转图片单独运行有问题,但是和pdf转图片或者PPT转图片一起运行就没问题。不知道怎么回事。
    2018-10-14
  • rainbow568 :
    已测试,可以使用,不错的资源。
    2017-11-20
  • rotary_1002 :
    真心不错!!!谢谢
    2017-10-18
  • 我家波 :
    word转图片,如果word里面插入的图片是钳入型的,就不会错位,如是是符在文字上方的就会错会
    2017-01-09
  • bigital :
    真心不错!!!谢谢
    2016-07-07

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明