SplitPdfExtractPages(Document, Int32, Int32, String) Method |
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.PdfCreatorAssembly: epdfcreator (in epdfcreator.dll) Version: 21.1.0
Syntaxpublic 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
)
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.
- destFilePath String
- The destination file for the extracted pages.
See Also