Here is my code my value in dataset is = _dt.Rows[0]["ORDERNUM"]
- Code: Select all
PdfPCell barcode = new PdfPCell(new Phrase("" + datas[0] + " \n ", FontFactory.GetFont(FontFactory.COURIER, 10, iTextSharp.text.Font.NORMAL)));
barcode.PaddingBottom = 3;
barcode.BorderWidthLeft = 0;
barcode.BorderWidthRight = 0;
barcode.BorderWidthTop = 0;
barcode.HorizontalAlignment = PdfPCell.ALIGN_LEFT;
barcode.Colspan = 12;
table.AddCell(barcode);
can you please answer this