I am attempting to: get an image, add it to a cell, and put the cell into a table.  
Like:

                        Image img = null;
                        try 
                        {
                                img = Image.getInstance( new URL( this.imageURL));
                                img.scaleAbsoluteHeight(10);                           
 
                                PdfPCell imgCell = new PdfPCell(img);
                                imgCell.setFixedHeight(10); 
                                topTable.addCell(img);
                        }
                        catch (BadElementException bee)

The image still takes up the full width of the table cell -- even with 
scaleAbsoluteHeight and setFixedHeight. 

Any help would be appreciated.

Thanks,
> - John 
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to