Example written in answer to the question How to superimpose pages from existing documents into another document? Files: SuperImpose. Example written by Bruno Lowagie in answer to the following question: * http:// */ package r; import. This class is part of the book “iText in Action – 2nd Edition” * written by Bruno Lowagie (ISBN: ) * For more info, go to.

Author: Shagami Tygom
Country: Swaziland
Language: English (Spanish)
Genre: Spiritual
Published (Last): 15 May 2005
Pages: 119
PDF File Size: 3.99 Mb
ePub File Size: 4.23 Mb
ISBN: 929-4-24609-810-3
Downloads: 1854
Price: Free* [*Free Regsitration Required]
Uploader: Volrajas

The overlay file is the PDF that contains the page with the ovetlay that you would like to use. You would call the command prompt application: The application will then take the first page from second argument “C: If you would like to only place the background on every second page then you can check the page number of what you are on by checking the value of ‘i’.


This site uses cookies for analytics, personalized content and ads. By continuing to browse this overrlay, you agree to this use. Remove From My Forums.

Sign in to vote. Can anyone help me with this?

Superimposing content from one PDF into another PDF | iText Developers

Friday, March 9, 4: I wrote a small app for you quickly that should put you on the right path. GetInstance inputDoc, fs ; inputDoc.

AddTemplate overLay, 0, -1f, 1f, 0, 0, reader. AddTemplate page, overlaay, -1f, 1f, 0, 0, reader. Sunday, March 11, 9: Hi, The overlay file is the PDF that contains the page with the background that you would like to use. Shout if you need more help. Sunday, March 11, 1: This isn’t really a language issue, you just need to know how to use the library properly assuming it includes the functionality required to extract content from PDF documents.

As we don’t know which library you will be using we can’t really help you.


You should be able to get what you need from the library’s documentation. The library I mentioned has nothing to do with this and does not have that functionality. I am looking for either a library or some other solution for this.

Superimposing content from one PDF into another PDF

Friday, March 9, 5: No body can help me out? I still didn’t find a solution to this.

Saturday, March 10, 2: Can you explain how to use this code please? What is the “overlayFile”? Thank you very much!