Winnovative PDF Split Library for .NET Documentation

PDFSplitManagerExtractPagesFromMemoryToFile Method (Byte, String, Int32, Int32, Boolean)

Winnovative PDF Split Library for .NET
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

Namespace:  Winnovative.PDFSplit
Assembly:  wnvsplitpdf (in wnvsplitpdf.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public void ExtractPagesFromMemoryToFile(
	byte[] srcPdfBytes,
	string destPDFFilePath,
	int startPageNumber,
	int splitPageCount,
	bool repeatToEnd
)

Parameters

srcPdfBytes
Type: SystemByte
The source PDF document as an array of bytes
destPDFFilePath
Type: SystemString
The full path of destination PDF file
startPageNumber
Type: SystemInt32
The source PDF document page number from where to start extracting pages
splitPageCount
Type: SystemInt32
The number of pages to extract
repeatToEnd
Type: SystemBoolean
When true this parameter indicates to split the PDF document to the end
See Also

Reference