Skip to main content
Skip table of contents

How not to merge documents

This is an example that is used by many people, but it is completely wrong: one should not use PdfWriter to merge documents. Use PdfCopy or PdfSmartCopy instead.


incorrectexample

##GITHUB:https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/merge/IncorrectExample.java##

JavaScript errors detected

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

If this problem persists, please contact our support.