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
tlc wrote:
But how do I make the background transparent?
Not by ignoring my previous answers:
17/01/2009 9:49: Have a look at this example:
http://1t3xt.info/examples/browse/?page=example&id=164
It's sufficient to adapt the subclass Ellipse so that it draws a
rectangle to the BACKGROUNDCANVAS
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
tlc wrote:
> My goal
> is to have the table to be slightly transparent
Hmm... You probably know better, but I think it's NOT your goal to have
the table to be slightly transparent.
> so the watermark would show
> through the cells' background, but not the white text. Is this possible?
You see?
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
tlc wrote:
>
> 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
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
tlc wrote:
> I would like to have the text of the header to be bright white. I'm 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.
Create a small standalone example that demonstrates your problem.
Normally
Thanks for your response. I did look at the example suggested below. That
was how I learned how to use CellEvent. I think I was a bit misleading in
stating the problem. Let me try again.
As stated earlier, I have a table that sits on top of on a watermark. When
rendering the table, I have
tlc wrote:
> 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);
>
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.
11 matches
Mail list logo