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.

C# | Visual Basic | Visual C++ |
public static void ExtractPages( Document srcPdfDocument, int startPageIndex, int pageCount, string destFilePath )
Public Shared Sub ExtractPages ( srcPdfDocument As Document, startPageIndex As Integer, pageCount As Integer, destFilePath As String )
public: static void ExtractPages( Document^ srcPdfDocument, int startPageIndex, int pageCount, String^ destFilePath )
Assembly: ExpertPdf.PdfCreator (Module: ExpertPdf.PdfCreator.dll) Version: 9.2.0.25824 (9.2.0.0)