I'm using the trail version of DynamicPDF Generator and Merger.
I have to generate Routing Labels for shipments, so they have to be small. Another requirement is that i have to use the barcode Code39.
But if i print the label, the barcode is to big for the label.
With no XDimension value, the Barcode will use too much space.
With the Dimension value, the barcode is only a thick black line.
My Code (C#):
BarCode barCode = new Code39(string.Format("GE{0}WW",shipment.Connote), 17, currentY, 23, 196);
currentPage.Elements.Add(barCode);
The connote is a 9 digit value.
Can you help me?
Barcode code39 condensed?
Re: Barcode code39 condensed?
Support · Jun 2, 2014Hello,
The XDimension value (196) that you are using in your code below is very high. The default value of XDimension is 1.0 and if you want to reduce size of the bar code please use a value smaller than 1.0, here is modified line of code:
BarCode barCode = new Code39(string.Format("GE{0}WW",shipment.Connote), 17, currentY, 23, 0.5f)
Thanks,
ceTe Software Support Team.
Re: Barcode code39 condensed?
Forum member · Jun 3, 2014Thank you very much.
It works perfectly :)
Very nice tools.