PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

How to put barcode in to table cell using migradoc
https://forum.pdfsharp.net/viewtopic.php?f=3&t=3023
Page 1 of 1

Author:  Phaniteja [ Wed Jan 07, 2015 10:29 am ]
Post subject:  How to put barcode in to table cell using migradoc

hi
I used the following code to put barcode

Barcode barcode = Cell.Elements.AddBarcode();
barcode.Type = BarcodeType.Barcode39;
barcode.Text = true;
barcode.Code = Text;
barcode.BearerBars = true;
barcode.LineHeight = 2;
barcode.LineRatio = 2;
barcode.Width = "11c";
barcode.Height = "2cm";

I haven't added any patch

Author:  vbocan [ Fri Mar 20, 2015 8:38 am ]
Post subject:  Re: How to put barcode in to table cell using migradoc

Does this code snippet actually work? I am using MigraDoc and I tried to add a simple Code39 barcode but that does not show up in the generated PDF. Any clues?

Author:  calosteward [ Thu Apr 02, 2015 3:18 am ]
Post subject:  Re: How to put barcode in to table cell using migradoc

vbocan wrote:
Does this code snippet actually work? I am using MigraDoc and I tried to add a simple Code39 barcode but that does not show up in the generated PDF. Any clues?

I also have exactly resolution for adding bar code in table cell, just found a thread, hope it can be helpful:
http://forum.pdfsharp.com/viewtopic.php ... 32&start=0

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/