Skip to main content
Skip table of contents

Manipulating existing PDFs - iText 5 Documentation

In this chapter, we're going to solve some problems when working with existing PDFs that need to be split into different files, merged or stamped. Usually, we are going to use a combination of PdfReader to read the document and PdfStamper, PdfCopy or PdfSmartCopy to create a new PDF. Note that we'll skip filling out interactive forms for now. We'll deal with AcroForm and XFA technology in the next chapter

How can I crop the pages of an existing PDF document?

How do I add XMP metadata to each page of an existing PDF?

How to add a cover page to an existing PDF document? | iText 5 PDF Development Guide

How to add a watermark to a page with an opaque image?

How to add alternative text for an image in Tagged PDF? | iText 5 PDF Development Guide

How to add an image watermark to a PDF file? | iText 5 PDF Development Guide

How to add blank pages to an existing PDF in java? | iText 5 PDF Development Guide

How to change the order of Optional Content Groups? | iText 5 PDF Development Guide

How to change the zoom factor in link annotations? | iText 5 PDF Development Guide

How to convert PdfStamper to a byte array? | iText 5 PDF Development Guide

How to convert an A4 size PDF to a PDF booklet? | iText 5 PDF Development Guide

How to convert an existing A4 PDF document to an A3 booklet? | iText 5 PDF Development Guide

How to create a TOC when merging documents? | iText 5 PDF Development Guide

How to crop out a part of PDF file? | iText 5 PDF Development Guide

How to decrypt a PDF document with the owner password?

How to extend the page size of a PDF to add a watermark?

How to fix the orientation of a PDF page in order to scale it? | iText 5 PDF Development Guide

How to load a PDF from a stream and add a file attachment?

How to merge PDFs and add bookmarks? | iText 5 PDF Development Guide

How to merge documents correctly? | iText 5 PDF Development Guide

How to move the content inside a rectangle inside an existing PDF? | iText 5 PDF Development Guide

How to position text relative to page? | iText 5 PDF Development Guide

How to reorder pages in an existing PDF file? | iText 5 PDF Development Guide

How to reorder the pages of a PDF file? | iText 5 PDF Development Guide

How to reuse a page from one PDF document into another PDF document?

How to rotate a page 90 degrees? | iText 5 PDF Development Guide

How to rotate and scale pages in an existing PDF? | iText 5 PDF Development Guide

How to set the OCG state of an existing PDF? | iText 5 PDF Development Guide

How to shrink pages in an existing PDF? | iText 5 PDF Development Guide

How to superimpose pages from existing documents into another document?

How to tile a document and add margins to the tiles? | iText 5 PDF Development Guide

How to update a PDF without creating a new PDF? | iText 5 PDF Development Guide

How to watermark PDFs using text or images? | iText 5 PDF Development Guide

Why do I get an error saying that "use of extended features is no longer available"?

Why does PdfStamper create a file with 0 bytes? - iText 5 PDF Library Explained

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.