Click or drag to resize

PDFSplitManagerExtractPagesFromMemoryToFile(Byte, String, String) Method

Extracts the pages of a page list from the specified source PDF document into a new PDF file.

Namespace: ExpertPdf.Anywhere.PDFSplit
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public void ExtractPagesFromMemoryToFile(
	byte[] srcPdfBytes,
	string destPDFFilePath,
	string pageList
)

Parameters

srcPdfBytes  Byte
The source PDF document as an array of bytes
destPDFFilePath  String
The full path of destination 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.
See Also