I am working with version .91. What I am trying to accomplish is to add a cell to 
table that contains an image,jpeg, and some text, side by side.

I seem to be able to accomplish this with the following snippet of code:

        hdr1 = new Chunk(uncheckImg,0,0);
            hdr2 =  new Chunk("Pricing");
            Phrase phrase = new Phrase(hdr1);                       
            phrase.add(hdr2);
              
            cell = new Cell(phrase);
            cell.setHorizontalAlignment(Element.ALIGN_LEFT);
            cell.setBorder(Rectangle.NO_BORDER);
            //cell.setGrayFill(grayFill);
            table.addCell(cell,currentRow++,firstCol+2);

However, if I uncomment setGrayFill() for the cell, the image is no longer visible.

Am I missing something or are there other solutions besides putting the image and text 
in separate cells. 

Thanks.

Rocco

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to