1: PDFSplitManager splitManager = new PDFSplitManager();
2:
3: if (repeatToEnd)
4: splitManager.ExtractPagesFromFileToFile(srcPdfFile, outFile,startPageNumber,
splitPageCount, true);
5: else
6: splitManager.ExtractPagesFromFileToFile(srcPdfFile, outFile,startPageNumber,
splitPageCount, repeatCount);