What you want is translucid images, something that is only supported in
Acrobat 5.0 and from what I'm told takes forever to print and fails with
some printers.
Fortunately thare are several ways to skin a cat. The easiest way to do it
is to create two images, one the normal watermark and the other the
watermark on top of a gray background. Create a pattern with this second
image and paint the cells with it.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 27, 2002 11:27
> To:   [EMAIL PROTECTED]
> Subject:      Ri:RE: [iText-questions] PdfPTable with transparent
> background color  ?
> 
> > Your image arrived with 0 bytes.
> > 
> > Best Regards,
> > Paulo Soares
> > 
> > > -----Original Message-----
> > > From:     [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > > Sent:     Wednesday, February 27, 2002 9:53
> > > To:       [EMAIL PROTECTED]
> > > Subject:  [iText-questions] PdfPTable with transparent background
> > > color ?
> > > 
> > > Sorry for my previous e-mail
> > > my English is a disaster
> > > 
> > > Now I retry to explain my problem :
> > > 
> > > I create a pdf document using a PdfPTable class to create a table (see
> the
> > > attachment)
> > > I also add a watermark on the document.
> > > 
> > > For more readeable table, I set an alternate gray background using the
> > > below code
> > > 
> > >                     if (row % 2 == 1) { 
> > >                         cell.setGrayFill(0.9f);
> > >                     } else {
> > >                         cell.setGrayFill(0.0f);
> > >                     }
> > > 
> > > but In this manner the setGrayFill method cover the watermark image.
> > > 
> > > How I can set a background color (transparent) without cover the
> watermark
> > > image ?
> > > 
> > > Thanks in advance.
> > >  << File: Table.jpg >> 
> >  << File: Table.jpg >> 

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to