I have managed to create a barcode image, and if I add the image to the document directly I see my barcode fine.
If I try and add the barcode image to a cell in the table using the following code, no image is rendered in the cell. Can anyone tell me what I am doing wrong?
Image image39 = code39.createImageWithBarcode(cb, null, null); image39.setAlignment(Image.LEFT); Chunk chunk = new Chunk(image39, 0, -10, true); Phrase phrase = new Phrase(); phrase.add(chunk); Cell cell = new Cell(phrase); cell.setBackgroundColor(color); cell.setBorderWidth(0); table.addCell(cell);
Regards, Graham -- ----------------------------------------- [EMAIL PROTECTED] "There's a moon over Bourbon Street tonight..."
------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions