Click or drag to resize
Pdf Library for .NET

PdfDocumentAppend(PdfDocument) Method

Appends all pages from another PDF document to this document. The appended document must remain open until this document is saved.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public void Append(
	PdfDocument doc
)

Parameters

doc  PdfDocument
The document whose pages will be appended.
Exceptions
ExceptionCondition
PdfDocumentExceptionThrown when this document is PDF/A and the appended one does not conform to its level, or when the merge fails.
Example
PdfDocument document = new PdfDocument();
document.AddPage();
document.Append("chapter2.pdf");
document.Save("combined.pdf");
document.Close();
See Also