Click or drag to resize

PdfMergerAppend(String, PdfLoadOptions, PdfPageRange) Method

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

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

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.
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