Click or drag to resize

PdfSplitterSplit(String, FuncInt32, String) Method

Splits all pages from a PDF document loaded from a file with the specified path and with the Default options into separate documents.

Namespace: SautinSoft.Pdf.Facades
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.1.20
Syntax
public static void Split(
	string path,
	Func<int, string> outputPath = null
)

Parameters

path  String
The path to a file from which to load a PDF document.
outputPath  FuncInt32, String  (Optional)
The delegate used for output file path generation.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
InvalidPdfPasswordExceptionPDF file is encrypted and the password is required to load a PDF document.
See Also