Spire.PDF转Word功能示例
// 步骤1:加载PDF文档
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("图文版丽江旅游攻略大全.pdf");
// 步骤2:转换为Word格式并保存
string outputFilePath = "图文版丽江旅游攻略大全.doc";
doc.SaveToFile(outputFilePath, FileFormat.DOC);
// 步骤3:重新打开文档
System.Diagnostics.Process.Start(outputFilePath);
4.27MB
文件大小:
评论区