Hello
I am busy right now with the creation of a pdf table with a barcode in a cell
in VB.Net
Code example:
Dim cb1 As PdfContentByte = writer.DirectContent
Dim code128 As New Barcode128()
code128.CodeType = Barcode128.CODE128_UCC
code128.Code = "12345678"
code128.X = barcodeWidth
code128.BarHeight = barcodeHeight
Dim cell_bar1 As PdfPCell = New
PdfPCell(code128.CreateImageWithBarcode(cb1, Nothing, Nothing))
cell_bar1.Colspan = 2
cell_bar1.HorizontalAlignment = 0
cell_bar1.PaddingLeft = 10.0F
cell_bar1.PaddingTop = barcodePadding
cell_bar1.Border = iTextSharp.text.Rectangle.NO_BORDER
This works great.
Now the only question I have, How can I get rid of the text below the barcode?
Thx in advance,
Chris
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php