HI,
I will like of create a barcode at last line of my report,
how make?
PdfContentByte cb2 = writer.getDirectContent();
document.add(new Paragraph(40, new
PdfBarcode("c:\\temp\\Code39.ttf",PdfBarcode.CODE39, 30, "0000078341")));
BaseFont bf = BaseFont.createFont("c:\\pasta\\Code39.ttf",
BaseFont.CP1252, BaseFont.NOT_EMBEDDED);
float points = bf.getWidthPoint("0000078341", 36f);
float inches = points / 72;
float cm = inches * 2.54f;
thanks
Jos�
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions