PDFSplitManagerExtractPagesFromMemoryToFile(Byte, String, Int32, Int32, Int32) Method |
Extracts 'repeatCount' times the specified number of pages from the specified 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
Namespace: ExpertPdf.PDFSplitAssembly: epsplitpdf (in epsplitpdf.dll) Version: 9.0
Syntaxpublic void ExtractPagesFromMemoryToFile(
byte[] srcPdfBytes,
string destPDFFilePath,
int startPageNumber,
int splitPageCount,
int repeatCount
)
Public Sub ExtractPagesFromMemoryToFile (
srcPdfBytes As Byte(),
destPDFFilePath As String,
startPageNumber As Integer,
splitPageCount As Integer,
repeatCount As Integer
)
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
- repeatCount Int32
- Indicates how many documents of splitPageCount pages to create
See Also