On Thu, Nov 05, 2009 at 11:47:01AM +0100, 1T3XT info wrote: > There are 4 ways to add a barcode/image to a PdfPTable. > [...] > You're probably adding the barcode with addCell(). Try the alternatives > to avoid scaling.
I was using cell.setImage() and needed to make it cell.setPhrase() to avoid the scaling. In order to have the width scaled but fill up the entire cell's height nonetheless I also scale the barcode image myself, but that means I disable the barcode's text so that it isn't scaled and print it myself underneath the barcode. Thanks for your help. It would be a lot easier however if there was a way to set the barcode's width and height so that it would fill the entire size without having to handle the barcode text outside. -- Stéphane Epardaud ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
