当前位置:网站首页>Word document export

Word document export

2022-06-13 07:04:00 AndroidOrCSharp

export Word The idea of the document is to export PDF To Word

export PDF Content   https://blog.csdn.net/qq_36730649/article/details/98623236
PDF turn word  It's going to be installed here DLL   Spire.Pdf    However, due to the charging of genuine software , Direct use nuget The export installed by the package manager will have a watermark
If PDF 10 Page down , You can use the package management console command first Install the free version

Install-Package FreeSpire.PDF -Version 7.2.0

https://www.nuget.org/packages/FreeSpire.PDF/

                // initialization PdfDocument example 
                Spire.Pdf.PdfDocument pfdDocument = new Spire.Pdf.PdfDocument();
                // load PDF file 
                pfdDocument.LoadFromFile(IndexDir);
                // Save as Doc Format document 
                pfdDocument.SaveToFile(IndexDir.Replace("pdf", "docx"), FileFormat.DOCX);

 

原网站

版权声明
本文为[AndroidOrCSharp]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202270550514003.html