PDFSplitManagerExtractPagesFromMemoryToMemory(Byte, String) Method |
Extracts the pages of a page list from the specified source PDF document into a new PDF document.
Namespace: ExpertPdf.Anywhere.PDFSplitAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic PDFSplitDoc ExtractPagesFromMemoryToMemory(
byte[] srcPdfBytes,
string pageList
)
Public Function ExtractPagesFromMemoryToMemory (
srcPdfBytes As Byte(),
pageList As String
) As PDFSplitDoc
Parameters
- srcPdfBytes Byte
- The source PDF document as an array of bytes
- pageList String
- The pages to extract, for example "1-3,7,10-": page numbers start at 1, separated by
commas; "a-b" is a range, "a-" goes to the last page, "-b" starts with the first page. The pages are taken in
the order of the list (a range like "5-3" is taken backwards), so the list can also reorder pages.
Return Value
PDFSplitDocThe memory representation of the resulted PDF document
See Also