am new in the JAVa world but I have a solution for you
// get image from Doc - make a field named "Logo" that has PATH to Image
// like http://graphics8.nytimes.com/images/misc/nytlogo379x64.gif
String strLogo = lnDoc.getItemValueString("Logo");
// make a instend of the Logo
Image imgLogoImage = Image.getInstance(strLogo);
// place the Logo in a Table
cell = new PdfPCell(imgLogoImage);
cell.setBackgroundColor(new Color(0xC0, 0xC0, 0xC0));
cell.setBorder(Rectangle.NO_BORDER);
cell.setHorizontalAlignment(Element.ALIGN_LEFT);
table0.addCell(cell);
I hope this helps dominic
Palmi
> hello everyone,
> My name is Dominic and I'm new here. I was wondering if anyway had any
> ideas
> on how to put a picture...in my case a jpeg in a table. And I'm using the
> Table class. Also is there away to put two different object say a picture
> and some text in a singel cel of a table....if not I'll just make another
> column. Thanks for your time.
> Dominic
>
> _________________________________________________________________
> Dont just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
Palmi H Lord
[EMAIL PROTECTED]
8225420
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions