PDFSplitManagerExtractPagesFromMemoryToFile(Byte, String, Int32, Int32, Boolean) Method |
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: ExpertPdf.PDFSplitAssembly: epsplitpdf (in epsplitpdf.dll) Version: 9.0
Syntaxpublic 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
)
Parameters
- srcPdfBytes 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
See Also