Re: [iText-questions] problem with Watermark

2007-11-08 Thread Saladin Sharif
cs.csus.edu/~sharifs ** - Original Message From: Tobias Meier <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday, November 8, 2007 1:43:10 AM Subject: Re: [iText-questions] problem with Watermark Hi Saladin, i have written a method which adds wate

Re: [iText-questions] problem with Watermark

2007-11-08 Thread Saladin Sharif
://gaia.ecs.csus.edu/~sharifs ** - Original Message From: Tobias Meier <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday, November 8, 2007 1:43:10 AM Subject: Re: [iText-questions] problem with Wate

Re: [iText-questions] problem with Watermark

2007-11-08 Thread Paulo Soares
There are examples in the tutorial or better yet in the book. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Saladin Sharif > Sent: Thursday, November 08, 2007 1:02 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questio

Re: [iText-questions] problem with Watermark

2007-11-08 Thread Tobias Meier
Hi Saladin, i have written a method which adds watermarks to all the pages of an PDF. Here's the code: public void addWatermark(String text, WatermarkInfoDTO info, boolean formFlattening){                 this.stamper.setFormFlattening(formFlattening);                     int numberOfPages = this

RE: [iText-questions] Problem with watermark

2003-12-17 Thread Kuldeep Kataria
Thanks Paul. It worked. --- Paulo Soares <[EMAIL PROTECTED]> wrote: > Lower the template box to account for the > descenders: > > wmTemplate.setBoundingBox(new Rectangle(0, -20, 500, > 200)); > > Best Regards, > Paulo Soares > > > -Original Message- > > From: [EMAIL PROTECTED] > [

RE: [iText-questions] Problem with watermark

2003-12-17 Thread Paulo Soares
Title: RE: [iText-questions] Problem with watermark Lower the template box to account for the descenders: wmTemplate.setBoundingBox(new Rectangle(0, -20, 500, 200)); Best Regards, Paulo Soares -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of

RE: [iText-questions] Problem with Watermark & Table/Cell Border

2003-11-11 Thread Paulo Soares
CTED] [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, November 11, 2003 4:35 > To: [EMAIL PROTECTED] > Subject: RE: [iText-questions] Problem with Watermark & Table/Cell > Border > > Hi Paulo, > > I did that, but it didn't really work that well either when I use

RE: [iText-questions] Problem with Watermark & Table/Cell Border

2003-11-10 Thread Paulo Soares
Use a PdfPTable and the problem will go away. Alternatively put the image in an onStartPage event in a PdfWriter.getDirectContenUnder(). Best Regards, Paulo Soares > -Original Message- > From: Benjamin Bohlmann [SMTP:[EMAIL PROTECTED] > Sent: Monday, November 10, 2003 13:38 > To: [EMAIL