beppe costagliola wrote: >I will try to rewrite acorrding to your suggestion. > What if you use createTemplateWithBarcode or createImageWithBarcode ONLY to get the width? You can then discard the template or image, draw the rectangle (based on the dimensions of the template/image) and place the barcode.
Now that I have given it some more thought, that would probably be the most 'economic' way to solve this problem (filesize-wise). Just experiment a little more... br, Bruno _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
