【发布时间】:2020-05-13 10:29:38
【问题描述】:
我正在尝试通过“进程”在 Adobe Reader 中打开文件,因为 Adobe Reader 可以自行修复损坏的文件,但我还需要在代码级别从那里“另存为”文件,而无需手动保存,是否可以在 .net 中?
我正在使用的代码:
Process p = new Process();
p.StartInfo.FileName = file;
p.Start();
//Code to Save As this file
p.Close();
corrupt = true;
inputDocument = PdfReader.Open(file, PdfDocumentOpenMode.Import);
【问题讨论】:
-
嗨,这可以通过.net 使用任何开源 dll 以某种方式完成吗?只有第三方 API?
标签: c# .net pdf save-as adobe-reader