PdfSplitterSplit(String, PdfLoadOptions, Int32, Int32, FuncInt32, String) Method |
Splits the specified pages from a PDF document loaded from a file with the specified path and with the specified options into separate documents.
Namespace: SautinSoft.Pdf.FacadesAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntaxpublic static void Split(
string path,
PdfLoadOptions options,
int startPage,
int pageCount,
Func<int, string> outputPath = null
)
Public Shared Sub Split (
path As String,
options As PdfLoadOptions,
startPage As Integer,
pageCount As Integer,
Optional outputPath As Func(Of Integer, String) = Nothing
)
Parameters
- path String
- The path to a file from which to load a PDF document.
- options PdfLoadOptions
- The options used for loading a PdfDocument from a PDF file.
- startPage Int32
- The zero-based start page index.
- pageCount Int32
- Page count to split.
- outputPath FuncInt32, String (Optional)
- The delegate used for output file path generation.
Exceptions
See Also