Re: [iText-questions] Table cells border appear evem when BorderWidth is set to 0 when background is transparent

2009-01-28 Thread tlc
white gaps. Using table event is perfect however. 1T3XT info wrote: > > tlc wrote: >> I have a table where its cells background are partially transparent. The >> cells' background are set using a CellEvent (see >> http://www.nabble.com/Different-transparency-for-

[iText-questions] Table cells border appear evem when BorderWidth is set to 0 when background is transparent

2009-01-27 Thread tlc
I have a table where its cells background are partially transparent. The cells' background are set using a CellEvent (see http://www.nabble.com/Different-transparency-for-cells-in-PdfPtable-td21511310.html). However, there is a border drawn for the cells even when I set the borderWidth and bord

Re: [iText-questions] Different transparency for cells in PdfPtable

2009-01-23 Thread tlc
That did it. Thanks. As the saying goes: "A program is worth a thousand words". Apologies to the wife. Please assure her that your fifteen minute was not spent in vain. 1T3XT info wrote: > > > See attachment. Now my wife is angry at me because I chose > to spend a quarter of an hour to yo

Re: [iText-questions] Different transparency for cells in PdfPtable

2009-01-22 Thread tlc
But how do I make the background transparent? I added the following code to create a shading color instead of using the image for the header background: ShadingColor tableHeaderBgColor; Rectangle page = document.getPageSize(); PdfShading axial = PdfShading.simpleAxial(writer, docume

Re: [iText-questions] Different transparency for cells in PdfPtable

2009-01-21 Thread tlc
I did realize that what I did caused the text to be transparent. However, if I implement what was suggested then the whole table is opaque. My goal is to have the table to be slightly transparent so the watermark would show through the cells' background, but not the white text. Is this possibl

Re: [iText-questions] Different transparency for cells in PdfPtable

2009-01-19 Thread tlc
1T3XT info wrote: > > > Create a small standalone example that demonstrates your problem. > Normally, if you set the text color to white, it should be white. > You're not making the cell text transparent, are you? > I'm setting the text color to be white but I'm not setting the cell text tran

Re: [iText-questions] Different transparency for cells in PdfPtable

2009-01-17 Thread tlc
okay with the watermark showing though the header. I just want the text to be bright white and not get affected by the opacity setting. Thanks for your help. 1T3XT info wrote: > > tlc wrote: >> Question: How do I set different transparency level for different cells >> in a &g

[iText-questions] Different transparency for cells in PdfPtable

2009-01-16 Thread tlc
Question: How do I set different transparency level for different cells in a table? I have a document that has a watermark image that was inserted with opacity of 0.6 using the following code: PdfGState gstate = new PdfGState(); gstate.setFillOpacity(0.6f); gstate.setStrokeOpacity(0.

[iText-questions] Cannot open pdf.

2006-05-19 Thread HINDI TLC
Hi My application gives me an error when opening the pdf. Acrobat Reader says the file is damaged and cannot be open. My code is attached. From: bruno <[EMAIL PROTECTED]> To: HINDI TLC <[EMAIL PROTECTED]> CC: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Re

Re: [iText-questions] Re: Table Font

2006-05-17 Thread HINDI TLC
itext-questions@lists.sourceforge.net, [EMAIL PROTECTED] Subject: Re: [iText-questions] Re: Table Font Date: Wed, 17 May 2006 14:54:45 +0200 HINDI TLC wrote: HI All, Bruno, thx for replying. I have attempted to add Chunk objects to the table but it loses the style properties such as font type

[iText-questions] Re: Table Font

2006-05-17 Thread HINDI TLC
ROTECTED]> To: HINDI TLC <[EMAIL PROTECTED]> CC: itext-questions@lists.sourceforge.net Subject: Re: Table Font Date: Wed, 17 May 2006 13:44:01 +0200 HINDI TLC wrote: Hi there, I'm new to itextsharp. You have used the wrong mail address: use itext-questions@lists.sourceforge.net