I had a prior problem with Foxit PhantomPFD that kept appearing as well and the update to fixed that. I have isolated the problem to turning Anti-exploit off run the conversion and then turn it back on. If ( string.equalsIgnoreCase(printer, " Foxit Reader PDF Printer") = 0) I am using Foxit PhantomPFD version 7.15 and beta 7.20 both crash when I attempt to convert a PDF to a word document. Info.WindowStyle = ProcessWindowStyle.Hidden įoreach ( string printer in .InstalledPrinters) ProcessStartInfo info = new ProcessStartInfo(documentPath) Public void PrintReportAsAProcess( string documentPath) || String.IsNullOrWhiteSpace(currentPrinter)) This.PrintReportAsAProcess(documentPath) SetDefaultPrinter( " Foxit Reader PDF Printer") String currentPrinter = this.GetDefaultPrinter() If( String.IsNullOrWhiteSpace(documentPath))
Public void ConvertDocxToPdfWithFoxitReader( string documentPath) In this video, I will show you, How to Convert PDF to MS Word in Foxit PhantomPDF. Public static extern bool SetDefaultPrinter( string Name) Just Foxit Reader (Free) must be installed on the client.Ĭopy Code public class DocumentProcessing In addition, one will have a few more options to configure your pdf output if you're going to hack some Windows Registry values at application runtime.ĭepending on registy manipulating, full silent conversation, showing a FileSaveDialog as well asĪutomatically open up converted document is possible. There are many great (commercial) document libraries which support a doc/docx to pdf conversation and a few other scopes to do this, but I just needed a conversation so I was a bit scared of using a whole library for that.Īlso the other scopes like using Word interop or SharePoint has not been an option for me because a licensed Word/Sharepoint installation is needed for that task.Ī quick look into foxit's printer settings revealed that this could be an option so I had a try and I was really happy that it works for my requirements. Seems easy, like a standard task and pdfs are a standard document format. Friendly Ribbon Customization Supports to customize the Ribbon, enabling users to rearrange the buttons, or create a new tab with their favorite buttons. Foxit Phantom PDF Standard is a productivity application th. Foxit PDF Editor latest version: Full PDF suite. I stumbled over a requirement to convert (and print) *.doc, *.docx. Allows users to create an RMS protected PDF from Office (Word, Excel, PowerPoint and Outlook), using Foxit add-in. Foxit PDF Editor, free and safe download.