ExpertPdf PDF Creator Library
ExtractPages Method (srcPdfDocument, startPageIndex, pageCount)
NamespacesExpertPdf.PdfCreatorSplitPdfExtractPages(Document, Int32, Int32)
ExpertPdf PDF Creator Library
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 can be further saved into a file on disk or into a stream.
Declaration Syntax
C#Visual BasicVisual C++
public static Document ExtractPages(
	Document srcPdfDocument,
	int startPageIndex,
	int pageCount
)
Public Shared Function ExtractPages ( _
	srcPdfDocument As Document, _
	startPageIndex As Integer, _
	pageCount As Integer _
) As Document
public:
static Document^ ExtractPages(
	Document^ srcPdfDocument, 
	int startPageIndex, 
	int pageCount
)
Parameters
srcPdfDocument (Document)
The PDF document 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.
Return Value
The Document containing the extracted pages.

Assembly: ExpertPdf.PdfCreator (Module: ExpertPdf.PdfCreator) Version: 5.2.0.0 (5.2.0.0)