Category / Section
How do I append/import pages from one document to another?
1 min read
Pages can be appended to a PDF document in number of ways. Below are some common methods:
1)Append range of pages from another document:
C#
doc1.ImportPageRange(doc2, 0, doc2.Pages.Count-1);
2)Append pages one by one:
C#
doc1.ImportPage(doc2,0);
3)Append all the pages from another document:
C#
doc1.Append(doc2);
4)Append pages from multiple document:
C#
PdfDocument.Merge(paths);
5)Append new page through index
C#
doc1.Pages.Insert(doc1.Pages.Count);
6)Appending new page
C#
doc1.Pages.Add();