I have the following iTextSharp (v 4.1.1.0) VB code:

 

Dim bc As BarcodeEAN = New BarcodeEAN()

            bc.CodeType = Barcode.UPCA

            bc.Code = "878373001012"

            barUPC = bc.CreateDrawingImage(Color.Black, Color.White)

            barUPC.Save("c:\temp\_barcode.png",
System.Drawing.Imaging.ImageFormat.Png)

 

I get this image:

 

_barcode.png

 

 

I don't see a way to generate this barcode with the code text like in the
book on pg. 604 figure B-2.

 

I saved this code to a file for sample purposes, but in production I will
add the image to another bmp and then place the larger image on a pdf.  For
this reason I don't think I can use CreateImageWithBarcode, which I think
will  put the numbers under the code.

 

Google got me no relevant examples.  Is there some other way outside of just
drawing the text to have the barcode image contain the text?

 

Regards,

 

Rick

<<image001.png>>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Reply via email to