EVO PDF Split Library for .NET Documentation

PDFSplitManager.ExtractPagesFromFileToFile Method (String, String, Int32, Int32, Int32)

EVO PDF Split Library for .NET
Extracts 'repeatCount' times 'splitPageCount' number of pages from the source PDF document starting from the specified page number and creates a new PDF document for each set of extracted pages. Each set of extracted pages has 'splitPageCount' pages. Each resulted PDF document is saved in the file specified by 'destPDFFilePath' concatenated with the chunk index

Namespace:  EvoPdf.PdfSplit
Assembly:  evosplitpdf (in evosplitpdf.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public void ExtractPagesFromFileToFile(
	string srcPDFFilePath,
	string destPDFFilePath,
	int startPageNumber,
	int splitPageCount,
	int repeatCount
)

Parameters

srcPDFFilePath
Type: System.String
The full path of source PDF file
destPDFFilePath
Type: System.String
The full path of destination PDF file
startPageNumber
Type: System.Int32
The source PDF document page number from where to start extracting pages
splitPageCount
Type: System.Int32
The number of pages to extract
repeatCount
Type: System.Int32
Indicates how many documents of splitPageCount pages to create
See Also

Reference