PDFSplitManagerExtractPagesFromFileToMemory(String, 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 ExtractPagesFromFileToMemory(
string srcPDFFilePath,
string pageList
)
Public Function ExtractPagesFromFileToMemory (
srcPDFFilePath As String,
pageList As String
) As PDFSplitDoc
Parameters
- srcPDFFilePath String
- The full path of source PDF file
- 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