Click or drag to resize

SplitPdfExtractPages Method (Document, Int32, Int32, String)

This function extracts pageCount pages from the srcPdfDocument starting with the page at startPage index and creates a new Document containing the extracted pages. The resulted document is saved into the destFilePath file.

Namespace:  ExpertPdf.PdfCreator
Assembly:  epdfcreator (in epdfcreator.dll) Version: 17.0.0
Syntax
public static void ExtractPages(
	Document srcPdfDocument,
	int startPageIndex,
	int pageCount,
	string destFilePath
)

Parameters

srcPdfDocument
Type: ExpertPdf.PdfCreatorDocument
The PDF document from where to extract pages.
startPageIndex
Type: SystemInt32
The 0 based page index from where to start extraction.
pageCount
Type: SystemInt32
The number of pages to extract.
destFilePath
Type: SystemString
The destination file for the extracted pages.
See Also