Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread Bruno Lowagie
morsi wrote: to alternate color between line into my tables, i use the property BackgroundColor (SetBackgroundColor) for a PdfCell ! So you were misleading us by saying it worked with Table but not with PdfPTable ;) Your question had nothing to do with Table. When i delete this property fro

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread morsi
You have right ! to alternate color between line into my tables, i use the property BackgroundColor (SetBackgroundColor) for a PdfCell ! When i delete this property from my PdfPTables, the watermark appear covering the table ! I dont find how to make a cell transparent ! i need BackgroundColor

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread Bruno Lowagie
This may be a stupid counter question, but are you sure your PdfPTable isn't covering the watermark in some way (for instance: with a colored rectangle that is not transparent)? Because in that case the watermark is added, but covered by something else (and therefore invisible). br, Bruno smime.

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread morsi
ok, i'm sorry ! thank you ! Bruno Lowagie (iText) wrote: > > morsi wrote: >> thank you bruno, >> i'm sorry but i really have a problem ! > Don't use onStartPage, use onEndPage. > Get rid of the opacity stuff, if you read the book, > you'll understand that the example is about more > than just

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread Bruno Lowagie
morsi wrote: thank you bruno, i'm sorry but i really have a problem ! Don't use onStartPage, use onEndPage. Get rid of the opacity stuff, if you read the book, you'll understand that the example is about more than just adding a watermark under existing content; it's about adding a transparent wa

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread morsi
thank you bruno, i'm sorry but i really have a problem ! i dont understund, the watermark dont appear under PdfPtable, I think that i must use constant PdfPtable.BASECANVAS but i dont know how to do this,i see examples on link you give me but i m newbie in java code :( i change my code like thi

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread Bruno Lowagie
morsi wrote: Dim Mywatermark As New Watermark(Image.GetInstance(Config.RepertoireApplication & "RessourcesEtats\demo.png"), 10, 10) _Doc.Add(Mywatermark) Watermark has been removed from iText for quite a while now. You must be using an old version of iTextSharp. I didn't find on documentatio

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-21 Thread morsi
Thank you Bruno for your response ! I add a watermark like this : _Doc = New Document(PageSize.A4.Rotate) _Doc.SetMargins(40, 40, 40, 40) _Doc.Open() Dim Mywatermark As New Watermark(Image.GetInstance(Config.RepertoireApplication & "RessourcesEtats\demo.png"), 10, 10) _Doc.Add(Mywatermark

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-21 Thread Bruno Lowagie
morsi wrote: so I want to know the difference between Table and PdfPTable just to decide if it will be possible to transform all my PdfPTable to Table. Do not switch from PdfPTable to Table! Table is an old class, it's no longer supported. How are you adding the watermark? You should do this as

[iText-questions] Difference between Table and PdfPTable

2008-01-21 Thread morsi
Hello, Please excuse my english, i write to you from France. I want to know the difference between Table and PdfPTable using itextsharp to generate PDF document with vb.net application. Now, I use PdfPtable with many tables (I dont know why i have choosen this) and i just add a watermark who do n