1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Neevia.docCreator DC = new Neevia.docCreator(); DC.setInputDocument("c:\users\public\test.pdf", ""); DC.setParameter("DocumentOutputFormat", "TXT"); DC.setParameter("DocumentOutputName", "testTXT_CSHARP"); DC.setParameter("DocumentOutputFolder", @"c:\users\public\"); int RVal = DC.create(); DC = null; if (RVal != 0) { MessageBox.Show("Error while parsing the PDF file!!!"); } else { MessageBox.Show("Done !!!"); } |