c# 免费版pdf转word尝试

时间:2023-03-09 08:01:00
c# 免费版pdf转word尝试

链接:https://pan.baidu.com/s/1Dwuezo6YGe9CdlSyrwQyNg 密码:c81a

1.安装此程序

2.在安装文件的bin下拷贝dll;

3.代码引用

private void toDocx(string pathS, string pathT)
{
PdfDocument doc = new PdfDocument();
//PdfPageNumber startPage = new PdfPageNumber();
//startPage.StartNumber = 9;
//doc.PageNumber = startPage;
doc.LoadFromFile(pathS);
doc.SaveToFile(pathT, FileFormat.DOC);
System.Diagnostics.Process.Start(pathT);
}

自己破解分享(.net3.5 dll):

  链接:https://pan.baidu.com/s/1RFd-C4C4HroX8JUT2WIzSQ 密码:0rg7

破解步骤:

  破解工具分享:链接:https://pan.baidu.com/s/1Rm5_9dUZxq2AWjZ4hc_p4A 密码:n099

  1.安装de4dot。dnspy直接就可以用,它运行需要安装.netFramework 4.7..

  2.在de4dot的exe目录下运行cmd,运行命令

de4dot-64.exe -f "xxx\Spire.PDF.dll" -o "xxx\Spire.PDF.dump.dll" --dont-rename

  3.用dnSpy打开Spire.PDF.dump.dll,按着自己的要求进行修改,保存。把此dll再改回原先的名字进行引用。