Skip to content

Commit 087ff5e

Browse files
Merge pull request #589 from telerik/dess-pdf-merge
Merge PDF docs article added
2 parents a581d14 + f850212 commit 087ff5e

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Merge PDF Documents
3+
description: RadPdfProcessing provides support for merging PDF documents.
4+
page_title: How to Merge PDF Documents
5+
slug: merge-pdf-documents
6+
tags: pdf, merge, document, file, telerik, processing, library
7+
position: 5
8+
---
9+
10+
# Merge PDF Documents
11+
12+
**RadPdfProcessing** provides support for merging multiple PDF documents into one using the following approaches:
13+
14+
## Using the RadFixedDocument.Merge Method
15+
16+
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:
17+
18+
<snippet id='libraries-pdf-features-merge-documents-with-radfixeddocument'/>
19+
20+
## Using the PdfStreamWriter
21+
22+
An alternative approach is using the [PdfStreamWriter]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-overview%}) allowing you to merge pages from different PDF documents:
23+
24+
<snippet id='libraries-pdf-features-merge-documents-with-pdfstreamwriter'/>
25+
26+
>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).
27+
28+
## See Also
29+
30+
* [RadFixedDocument]({%slug radpdfprocessing-model-radfixeddocument%})
31+
* [PdfStreamWriter]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-pdfstreamwriter%})

libraries/radpdfprocessing/formats-and-conversion/pdf/pdfstreamwriter/pdfstreamwriter.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,5 @@ When merging documents' pages using the PdfStreamWriter the Form Fields may be d
123123

124124
* [Pdf Stream Writer Overview]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-overview%})
125125
* [PdfPageStreamWriter]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-pdfpagestreamwriter%})
126-
* [RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})
126+
* [RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})
127+
* [Merge PDF Documents]({%slug merge-pdf-documents%})

libraries/radpdfprocessing/model/radfixeddocument.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,5 @@ __RadFixedDocument__ exposes a __DocumentInfo__ property of type __RadFixedDocum
113113
* [RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})
114114
* [Annotations]({%slug radpdfprocessing-model-annotations-overview%})
115115
* [Export to PDF]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfformatprovider%})
116-
* [Export to Image]({%slug radpdfprocessing-formats-and-conversion-image-using-skiaimageformatprovider%})
116+
* [Export to Image]({%slug radpdfprocessing-formats-and-conversion-image-using-skiaimageformatprovider%})
117+
* [Merge PDF Documents]({%slug merge-pdf-documents%})

0 commit comments

Comments
 (0)