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:\Users\qusu123\Desktop\convert\123.pdf”);
Console.WriteLine(“转换期间比较漫长请耐心等待…..”);
doc.SaveToFile(@”C:\Users\qusu123\Desktop\convert\123.docx”, FileFormat.DOC);
Console.WriteLine(“转换成功”);
System.Diagnostics.Process.Start(@”C:\Users\qusu123\Desktop\convert\123.docx”);
}
}
}