ExpertPdf PDF Creator Library
ExtractPages Method (srcPdfFilePath, startPageIndex, pageCount, destFilePath)
NamespacesExpertPdf.PdfCreatorSplitPdfExtractPages(String, Int32, Int32, String)
ExpertPdf PDF Creator Library
This function extracts pageCount pages from the srcPdfFilePath PDF file 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.
Declaration Syntax
C#Visual BasicVisual C++
public static void ExtractPages(
	string srcPdfFilePath,
	int startPageIndex,
	int pageCount,
	string destFilePath
)
Public Shared Sub ExtractPages ( 
	srcPdfFilePath As String,
	startPageIndex As Integer,
	pageCount As Integer,
	destFilePath As String
)
public:
static void ExtractPages(
	String^ srcPdfFilePath, 
	int startPageIndex, 
	int pageCount, 
	String^ destFilePath
)
Parameters
srcPdfFilePath (String)
The path to the PDF file from where to extract pages.
startPageIndex (Int32)
The 0 based page index from where to start extraction.
pageCount (Int32)
The number of pages to extract.
destFilePath (String)
The destination file for the extracted pages.

Assembly: ExpertPdf.PdfCreator (Module: ExpertPdf.PdfCreator.dll) Version: 9.2.0.25824 (9.2.0.0)