C# 利用Aspose.Slides.dll将本地ppt文档转化成pdf(完美破解版 无水印 无中文乱码)


下载Aspose.Slides.dll   http://pan.baidu.com/s/1kVPjnzL

添加引用C#代码、

 1 using System;
 2 using System.Collections.Generic;
 3 using System.ComponentModel;
 4 using System.Data;
 5 using System.Drawing;
 6 using System.Text;
 7 using System.Linq;
 8 using System.Windows.Forms;
 9 using System.IO;
10 using Aspose.Slides;
11 
12 namespace ppttopdf
13 {
14     public partial class Form1 : Form
15     {
16         public Form1()
17         {
18             InitializeComponent();
19         }
20 
21         private void button1_Click(object sender, EventArgs e)
22         {
23 
24             //PPT
25             Presentation ppt = new Presentation(@"E:\work\dll\officetopdf\file1\123.ppt");
26             ppt.Save(@"E:\work\dll\officetopdf\file2\temp3.pdf", Aspose.Slides.Export.SaveFormat.Pdf);
27 
28 
29         }
30     }
31 }

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM