1 2 3 4 5 6 7 8 9 10 11 12 | PDFsplit.Neevia NVsplit = new PDFsplit.Neevia(); int retVal; // Extract pages 2,3,7 retVal = NVsplit.SplitPDF(@"c:\1.pdf(2,3,7)", @"c:\out\"); if (retVal != 0) { MessageBox.Show("Error code = " + retVal.ToString()); } else { MessageBox.Show("Done"); } |