PdfSplitterSplit(Stream, PdfLoadOptions, Int32, Int32) Method |
Splits the specified pages of a PDF document loaded from the specified stream and with the specified options into separate documents.
Namespace: SautinSoft.Pdf.FacadesAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.4.2
Syntaxpublic static IEnumerable<Stream> Split(
Stream stream,
PdfLoadOptions options,
int startPage,
int pageCount
)
Public Shared Function Split (
stream As Stream,
options As PdfLoadOptions,
startPage As Integer,
pageCount As Integer
) As IEnumerable(Of Stream)
Parameters
- stream Stream
- The stream 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.
Return Value
IEnumerableStreamAn
IEnumerable<Stream>s that represents each separate document.
Exceptions
See Also