ExpertPDF Split PDF Library
ExtractPagesFromFileToFile Method (srcPDFFilePath, destPDFFilePath, startPageNumber, splitPageCount, repeatCount)
NamespacesExpertPdf.PDFSplitPDFSplitManagerExtractPagesFromFileToFile(String, String, Int32, Int32, Int32)
ExpertPDF Split PDF Library
Extracts 'repeatCount' times 'splitPageCount' number of pages from the source PDF document starting from the specified page number and creates a new PDF document for each set of extracted pages. Each set of extracted pages has 'splitPageCount' pages. Each resulted PDF document is saved in the file specified by 'destPDFFilePath' concatenated with the chunk index
Declaration Syntax
C#Visual BasicVisual C++
public void ExtractPagesFromFileToFile(
	string srcPDFFilePath,
	string destPDFFilePath,
	int startPageNumber,
	int splitPageCount,
	int repeatCount
)
Public Sub ExtractPagesFromFileToFile ( _
	srcPDFFilePath As String, _
	destPDFFilePath As String, _
	startPageNumber As Integer, _
	splitPageCount As Integer, _
	repeatCount As Integer _
)
public:
void ExtractPagesFromFileToFile(
	String^ srcPDFFilePath, 
	String^ destPDFFilePath, 
	int startPageNumber, 
	int splitPageCount, 
	int repeatCount
)
Parameters
srcPDFFilePath (String)
The full path of source PDF file
destPDFFilePath (String)
The full path of destination PDF file
startPageNumber (Int32)
The source PDF document page number from where to start extracting pages
splitPageCount (Int32)
The number of pages to extract
repeatCount (Int32)
Indicates how many documents of splitPageCount pages to create

Assembly: ExpertPdf.PdfSplit (Module: ExpertPdf.PdfSplit) Version: 3.0.0.0 (3.0.0.0)