I am trying to open the file in Adobe Reader through "process" because Adobe reader can repair the corrupt file itself, but I need to “SaveAs” the file also from there at code level without manually saving it, is it possible in .net?
Code I am using :
- Process p = new Process();
- p.StartInfo.FileName = file;
- p.Start();
-
- p.Close();
- inputDocument = PdfReader.Open(file, PdfDocumentOpenMode.Import);