zoukankan      html  css  js  c++  java
  • 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:workdllofficetopdffile1123.ppt");
    26             ppt.Save(@"E:workdllofficetopdffile2	emp3.pdf", Aspose.Slides.Export.SaveFormat.Pdf);
    27 
    28 
    29         }
    30     }
    31 }
  • 相关阅读:
    645. Set Mismatch
    400. Nth Digit
    633. Sum of Square Numbers
    507. Perfect Number
    453. Minimum Moves to Equal Array Elements
    441. Arranging Coins
    Girls and Boys
    二分图
    Gap
    SZU-A22
  • 原文地址:https://www.cnblogs.com/qiwu1314/p/5902526.html
Copyright © 2011-2022 走看看