You can't use overlay twice and I can't see whay you would want to do it, 
it's already there in PdfStamper.

Paulo

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 27, 2007 7:59 PM
Subject: [iText-questions] PDFstamper help


> Hello All,
> I think I am doing this correct, but it's not working,
> so most likely not!
>
> Anyway here is what my code looks like:
> //srctemplate = the template I want to place over my
> data file
> PdfReader overlay = new PdfReader(srctemplate);
> PdfStamper stamp = new PdfStamper(overlay,baosPDF);
> PdfContentByte under ;
> under = stamp.getUnderContent(1);
> under.addTemplate(stamp.getImportedPage(overlay, 1),
> 3, 38);
> stamp.close();
>
> I assume I have several issues, but I'm just not
> seeing them.
> Any help would be greatly appraciated.
> Thank you, B


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to