Add the image to a Cell and then to the Table. Best Regards, Paulo Soares
> -----Original Message----- > From: Sridhar [SMTP:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2003 12:20 > To: Paulo Soares > Subject: RE: [iText-questions] How do I Add an Image to a Table > > Thanks for ur Reply... > > This is the Error which I got during the Compilation Time.... > > Tables01.java:45: cannot resolve symbol > symbol : method addCell (com.lowagie.text.Image) > location: class com.lowagie.text.Table > aTable.addCell(img1); > > The Code : > > Image Img1 = new Image("C:\\Sridhar.jpg"); > > Table table = new Table(1); > > table.addCell(Img1); > > document.add(table); > > Thanks > > Sridhar > > > > Paulo Soares <[EMAIL PROTECTED]> wrote: > > Share a secret with us. What's the error? > > Best Regards, > Paulo Soares > > > -----Original Message----- > > From: Sridhar [SMTP:[EMAIL PROTECTED] > > Sent: Thursday, March 13, 2003 9:07 > > To: [EMAIL PROTECTED] > > Subject: [iText-questions] How do I Add an Image to a Table > > > > Hi > > > > When I tried to add an Image to a cell in a Table its giving an > error. Can > > you plz tell me how should I add(puy) an Image in a Table. > > > > Many Thanks > > > > Sridhar > > > > > > > > _____ > > > > Do you Yahoo!? > > Yahoo! Web Hosting - establish > > your business online > > > > _____ > > Do you Yahoo!? > Yahoo! Web Hosting <http://webhosting.yahoo.com/ps/wh3/prod/> - establish > your business online ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions