SplitPdfExtractPages Method (String, Int32, Int32) |
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 can be further saved
into a file on disk or into a stream.
Namespace:
ExpertPdf.PdfCreator
Assembly:
epdfcreator (in epdfcreator.dll) Version: 17.0.0
Syntax public static Document ExtractPages(
string srcPdfFilePath,
int startPageIndex,
int pageCount
)
Public Shared Function ExtractPages (
srcPdfFilePath As String,
startPageIndex As Integer,
pageCount As Integer
) As Document
Parameters
- srcPdfFilePath
- Type: SystemString
The path to the PDF file 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.
Return Value
Type:
DocumentThe Document containing the extracted pages.
See Also