Click or drag to resize

PdfMergerAppend(Stream, PdfLoadOptions, PdfPageRange) Method

Appends the specified pages from a PDF document loaded from the specified stream and with the specified options.

Namespace: SautinSoft.Pdf.Facades
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.1.20
Syntax
public PdfMerger Append(
	Stream stream,
	PdfLoadOptions options,
	params PdfPageRange[] pageRanges
)

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.
pageRanges  PdfPageRange
The page ranges.

Return Value

PdfMerger
A reference to this PdfMerger instance.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null or options is null.
ArgumentExceptionstream is not readable.
InvalidPdfPasswordExceptionPDF file is encrypted and the Password is invalid.
See Also