Skip to content

Merge PDF docs article added #589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions libraries/radpdfprocessing/features/merge-pdf-documents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Merge PDF Documents
description: RadPdfProcessing provides support for merging PDF documents.
page_title: How to Merge PDF Documents
slug: merge-pdf-documents
tags: pdf, merge, document, file, telerik, processing, library
position: 5
---

# Merge PDF Documents

**RadPdfProcessing** provides support for merging multiple PDF documents into one using the following approaches:

## Using the RadFixedDocument.Merge Method

You can merge PDF documents out-of-the-box with the **Merge** method of [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%}). This method clones the source document and appends it to the current instance of RadFixedDocument:

<snippet id='libraries-pdf-features-merge-documents-with-radfixeddocument'/>

## Using the PdfStreamWriter

An alternative approach is using the PdfStreamWriter allowing you to merge pages from different PDF documents:

<snippet id='libraries-pdf-features-merge-documents-with-pdfstreamwriter'/>

>note The following SDK example is quite useful on this topic as well: [SDK Demo](https://github.com/telerik/document-processing-sdk/tree/master/PdfProcessing/ManipulatePages).

## See Also

* [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%})
* [PdfStreamWriter]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-pdfstreamwriter%})
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,5 @@ When merging documents' pages using the PdfStreamWriter the Form Fields may be d

* [Pdf Stream Writer Overview]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-overview%})
* [PdfPageStreamWriter]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-pdfpagestreamwriter%})
* [RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})
* [RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})
* [Merge PDF Documents]({%slug merge-pdf-documents%})
3 changes: 2 additions & 1 deletion libraries/radpdfprocessing/model/radfixeddocument.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,5 @@ __RadFixedDocument__ exposes a __DocumentInfo__ property of type __RadFixedDocum
* [RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})
* [Annotations]({%slug radpdfprocessing-model-annotations-overview%})
* [Export to PDF]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfformatprovider%})
* [Export to Image]({%slug radpdfprocessing-formats-and-conversion-image-using-skiaimageformatprovider%})
* [Export to Image]({%slug radpdfprocessing-formats-and-conversion-image-using-skiaimageformatprovider%})
* [Merge PDF Documents]({%slug merge-pdf-documents%})