下载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 }

 

相关文章:

  • 2021-12-05
  • 2021-12-25
  • 2021-10-27
  • 2021-12-06
  • 2022-12-23
  • 2021-12-27
  • 2022-01-24
猜你喜欢
  • 2022-12-23
  • 2022-02-23
  • 2022-01-12
  • 2021-09-29
  • 2022-12-23
  • 2022-01-14
相关资源
相似解决方案