Hello, I have to write some barcodes in my PDF files, I already placed and sized the barcodes... But I have problems to write the code of the barcode
the part of my code for inserting Barcode is like this : Barcode128 code128 = new Barcode128(); code128.setCode(Datas); code128.setCodeType(Barcode.CODE128_RAW); com.lowagie.text.Image imgorderBarCode = code128.createImageWithBarcode(content,null,null); content.addImage(imgorderBarCode,Larg, 0, 0, Haut, X, Y); I tried to replace com.lowagie.text.Image imgorderBarCode = code128.createImageWithBarcode(content,null,null); with com.lowagie.text.Image imgorderBarCode = code128.createImageWithBarcode(content,null,Color.black); the text does not appear after the barcode ... Can someone tell me why ? and how to change this ? Thanks -- View this message in context: http://www.nabble.com/Barcodes-and-writing-the-code-tp16807716p16807716.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
