Create barcode with text image (not pdf) using itextsharp
I am able to create barcode using itextsharp CreateDrawingImage method. But I want to include the actual text into the image. How do I do that? or How do I use CreateImageWithBarcode method to save as image (Jpeg/Png)? Thanks Facing the same problem and after looking in iTextSharp sources it appears you can't. Besides with CreateDrawingImage() I had problems with image resizing, it was fuzzy and unreadable. I ended up using this library (very cool): http://www.codeproject.com/KB/graphics/BarcodeLibrary.aspx Code for EAN13: System.Drawing.Image imageBarcode = BarcodeLib.Barcode.DoEncode