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

Migradoc Table Barcode
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3596
Page 1 of 1

Author:  Amonomen [ Fri Jun 09, 2017 12:50 am ]
Post subject:  Migradoc Table Barcode

Greetings!

I am attempting to add a barcode to a table in MigraDoc.

The code is as follows.
Code:
Barcode bc = r.Cells[1].Elements.AddBarcode();
            bc.Type = BarcodeType.Barcode39;
            bc.Text = true;
            bc.Code = Id.ToString();
            bc.BearerBars = true;
            bc.LineHeight = 2;
            bc.LineRatio = 2;
            bc.Width = new Unit(100, UnitType.Point);
            bc.Height = new Unit(75, UnitType.Point);


Unfortunately, it seems no combination of property values makes it render.

Author:  TH-Soft [ Fri Jun 09, 2017 3:58 pm ]
Post subject:  Re: Migradoc Table Barcode

Hi!

Maybe this thread is helpful:
viewtopic.php?p=3332#p3332

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