See the example headers_and_watermarks.java at itextpdf.sf.net that has watermarks for all tastes. template.setLineDash(0)
Best Regards, Paulo Soares > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bill Groom > Sent: Thursday, May 13, 2004 10:06 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Linestyle and Watermark > > Hi All, > > On the subject of watermarks and linestyles I do have a > couple of questions: > > 1. I want to be able to place a watermark on each page. This > watermark > contains text (e.g. draft) and should be transparant. What is > the best way to > realize this? > - A watermark? > - Make text transparant, place it on a template and add this to each > subsequent page? > - Or place a transparant image on a template? > > (BTW: what is the exact function of a watermark? Is it a > special type of > template with additional protection?) > > 2. I figured out how to create a dashed line: > template.setLineDash(6,4,0); I > can not figure out how to create a solid line after a dashed > line. When I use > template.setLineDash(1,0,0); to make the line solid the > creation of the pdf > works fine but after opening the pdf I get errors on some > pages. Is there a > better way to reset the linestyle to a solid line? > > Thanks! > Bill > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
