C#使用Aspose.word将Word转PDF

发布时间:2019-07-05编辑:佚名阅读(2191)

public void Word2PDF(string srcDocPath, string dstPdfPath)
{
    // Load the document from disk.
    Document srcDoc = new Document(srcDocPath);
    // Save the document in PDF format.
    srcDoc.Save(dstPdfPath, SaveFormat.Pdf);
}


  关键字:C#Aspose.wordWord转PDF


鼓掌

2

正能量

0

0

呵呵

0


评论区