ExpertPDF Split PDF Library
ExtractPagesFromMemoryToFile Method (srcPdfBytes, destPDFFilePath, startPageNumber, splitPageCount, repeatToEnd)
NamespacesExpertPdf.PDFSplitPDFSplitManagerExtractPagesFromMemoryToFile(array<Byte>[]()[], String, Int32, Int32, Boolean)
ExpertPDF Split PDF Library
This method is similar to ExtractPagesFromMemoryToMemory with 'repeatCount' parameter but instead of exctracting 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 ExtractPagesFromMemoryToFile(
	byte[] srcPdfBytes,
	string destPDFFilePath,
	int startPageNumber,
	int splitPageCount,
	bool repeatToEnd
)
Public Sub ExtractPagesFromMemoryToFile ( _
	srcPdfBytes As Byte(), _
	destPDFFilePath As String, _
	startPageNumber As Integer, _
	splitPageCount As Integer, _
	repeatToEnd As Boolean _
)
public:
void ExtractPagesFromMemoryToFile(
	array<unsigned char>^ srcPdfBytes, 
	String^ destPDFFilePath, 
	int startPageNumber, 
	int splitPageCount, 
	bool repeatToEnd
)
Parameters
srcPdfBytes (array< Byte >[]()[])
The source PDF document as an array of bytes
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)