ExpertPDF Split PDF Library
ExtractPagesFromFileToFile Method (srcPDFFilePath, destPDFFilePath, startPageNumber, splitPageCount, repeatToEnd)
NamespacesExpertPdf.PDFSplitPDFSplitManagerExtractPagesFromFileToFile(String, String, Int32, Int32, Boolean)
ExpertPDF Split PDF Library
This method is similar to the ExtractPagesFromFileToMemory version with 'repeatCount' but instead of extracting a specified number of chunks, the chunks are extracted until the end of the document is reached when the 'repeatToEnd' parameter is true.
Declaration Syntax
C#Visual BasicVisual C++
public void ExtractPagesFromFileToFile(
	string srcPDFFilePath,
	string destPDFFilePath,
	int startPageNumber,
	int splitPageCount,
	bool repeatToEnd
)
Public Sub ExtractPagesFromFileToFile ( _
	srcPDFFilePath As String, _
	destPDFFilePath As String, _
	startPageNumber As Integer, _
	splitPageCount As Integer, _
	repeatToEnd As Boolean _
)
public:
void ExtractPagesFromFileToFile(
	String^ srcPDFFilePath, 
	String^ destPDFFilePath, 
	int startPageNumber, 
	int splitPageCount, 
	bool repeatToEnd
)
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
repeatToEnd (Boolean)
When true this parameter indicates to split the PDF document to the end

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