1. 程式人生 > >PDF轉Word

PDF轉Word

load reading ring des generic names collect threading system

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");

}
}
}

PDF轉Word