Click or drag to resize
PDFDocumentSplitDocument Method (String, Int32, String)
Split an PDF file into two or more PDF files. A valid split index is: 1: in the range from 1 to (page count - 1) 2: no duplicate indexes in the array 3: all indexes in the array should be sorted number of output file paths should be greater than the number of split indexes.

Namespace: RasterEdge.XDoc.PDF
Assembly: RasterEdge.XDoc.PDF (in RasterEdge.XDoc.PDF.dll) Version: 9.8.7.60526 (9.8.7.60526)
Syntax
public static void SplitDocument(
	string inputFilePath,
	int[] splitIndexes,
	string[] outputFilePaths
)

Parameters

inputFilePath
Type: SystemString
File path of the input file.
splitIndexes
Type: SystemInt32
An array of page indexes.
outputFilePaths
Type: SystemString
See Also