Click or drag to resize

PdfDocumentBase Split Method (String, Int32)

Splits a PDF file to many PDF files, each of them consists of one page from the source file.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void Split(
	string destFilePattern,
	int startNumber
)

Parameters

destFilePattern
Type: System String
Template for destination file names.
startNumber
Type: System Int32
The number that is use as a start point for the page numbering.
Remarks
Each destination file will have 'destFileName{0***}' name, where *** is an optional format string for the number of the page inside of the source document.
See Also