Organize PDFs
Organize pages and bookmarks in your PDF document in seconds.
Take Control of Your PDFs Structure
1
Add, Copy & Delete Pages
Manage the structure of your PDFs by adding, copying, or deleting pages as needed. This feature allows for easy organization and rearrangement of content.
Learn how to:manage PDF pagesusing IronPdf;
// Import cover page
PdfDocument coverPage = PdfDocument.FromFile("coverPage.pdf");
// Import content document
PdfDocument contentPage = PdfDocument.FromFile("contentPage.pdf");
// Insert PDF
contentPage.InsertPdf(coverPage, 0);
contentPage.SaveAs("report_final.pdf");
// Copy a single page into a new PDF object
PdfDocument myReport = PdfDocument.FromFile("report_final.pdf");
PdfDocument copyOfPageOne = myReport.CopyPage(0);Imports IronPdf
' Import cover page
Dim coverPage As PdfDocument = PdfDocument.FromFile("coverPage.pdf")
' Import content document
Dim contentPage As PdfDocument = PdfDocument.FromFile("contentPage.pdf")
' Insert PDF
contentPage.InsertPdf(coverPage, 0)
contentPage.SaveAs("report_final.pdf")
' Copy a single page into a new PDF object
Dim myReport As PdfDocument = PdfDocument.FromFile("report_final.pdf")
Dim copyOfPageOne As PdfDocument = myReport.CopyPage(0)2
Merge & Split PDFs
Combine multiple PDFs into a single document or split a large PDF into smaller sections, making your documents easier to manage and distribute.
Learn how to:merge and split PDFsusing IronPdf;
// Import two pdfs
PdfDocument pdf_A = PdfDocument.FromFile("merge_docA.pdf");
PdfDocument pdf_B = PdfDocument.FromFile("merge_docB.pdf");
// Merge the two pdfs A and B
var merged = PdfDocument.Merge(pdf_A, pdf_B);
merged.SaveAs("Merged.pdf");Imports IronPdf
' Import two pdfs
Dim pdf_A As PdfDocument = PdfDocument.FromFile("merge_docA.pdf")
Dim pdf_B As PdfDocument = PdfDocument.FromFile("merge_docB.pdf")
' Merge the two pdfs A and B
Dim merged = PdfDocument.Merge(pdf_A, pdf_B)
merged.SaveAs("Merged.pdf")
Supplement Organization Tools
1
Bookmarks & Outlines
Create bookmarks and outlines within your PDFs to enhance navigation and provide readers with an intuitive way to locate key sections.
Learn how to:make bookmarks and outlinesusing IronPdf;
// Create a new PDF or edit an existing document.
PdfDocument pdf = PdfDocument.FromFile("existing.pdf");
// Add a bookmark
var mainBookmarks = pdf.Bookmarks.AddBookMarkAtEnd("NameOfBookmark", 0);
//Add a sub-bookmark
var subBookmarks = mainBookmarks.Children.AddBookMarkAtEnd("Conclusion", 1);
pdf.SaveAs("singleLayerBookmarks.pdf");Imports IronPdf
' Create a new PDF or edit an existing document.
Dim pdf As PdfDocument = PdfDocument.FromFile("existing.pdf")
' Add a bookmark
Dim mainBookmarks = pdf.Bookmarks.AddBookMarkAtEnd("NameOfBookmark", 0)
'Add a sub-bookmark
Dim subBookmarks = mainBookmarks.Children.AddBookMarkAtEnd("Conclusion", 1)
pdf.SaveAs("singleLayerBookmarks.pdf")2
Attachments
Add attachments to your PDF documents, such as additional files, images, or related content, to provide supplementary information or context.
Learn how to:manage attachments in PDFsusing IronPdf;
using System.IO;
// Import attachment file
byte[] fileData = File.ReadAllBytes(@"path/to/file");
// Open existing PDF
PdfDocument pdf = PdfDocument.FromFile("sample.pdf");
// Add attachment to the PDF
pdf.Attachments.AddAttachment("Example", fileData);
pdf.SaveAs("addAttachment.pdf");Imports IronPdf
Imports System.IO
' Import attachment file
Dim fileData As Byte() = File.ReadAllBytes("path/to/file")
' Open existing PDF
Dim pdf As PdfDocument = PdfDocument.FromFile("sample.pdf")
' Add attachment to the PDF
pdf.Attachments.AddAttachment("Example", fileData)
pdf.SaveAs("addAttachment.pdf")Ready to Get Started?
Nuget Downloads 21,105,021|Version:2026.9just released