PDF转Word

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Spire.Pdf;


namespace KZT
{
class Program
{
static void Main(string[] args)
{

Console.WriteLine("开始转换.....");
PdfDocument doc = new PdfDocument();

doc.LoadFromFile(@"C:Usersqusu123Desktopconvert123.pdf");
Console.WriteLine("转换期间比较漫长请耐心等待.....");
doc.SaveToFile(@"C:Usersqusu123Desktopconvert123.docx", FileFormat.DOC);
Console.WriteLine("转换成功");
System.Diagnostics.Process.Start(@"C:Usersqusu123Desktopconvert123.docx");

}
}
}

原文地址:https://www.cnblogs.com/jimmyLei/p/9934217.html