Hi all,
I m using some barcode dot net SDK's for generating barcode PDF 417.
I downloaded different SDK's from internet.
there is one SDK of barcode lib downloaded from below link.
http://www.barcodelib.com/barcode_software/pdf417.html[
^]
when i run their sample application exe and give some input
it is generating output of width and height- 208,185 respectively.
I wanted to show screenshot but there is no option to upload the images.
and when i m using same input in dot net code with same parameter it is giving me output image having width and height of 562,12 respectively.
I have used this code for genrating barcode:
public static void barcodeLib()
{
string abcstr = File.ReadAllText(@"D:\Temp.txt");
BarcodeLib.Barcode.PDF417 pdf = new BarcodeLib.Barcode.PDF417();
pdf.UOM = UnitOfMeasure.PIXEL;
pdf.Data = abcstr;
pdf.BarWidth = 0.0104F;
pdf.BarRatio =3;
pdf.ECL = BarcodeLib.Barcode.PDF417ErrorCorrectionLevel.Level_2;
pdf.ProcessTilde = true;
pdf.Columns = 7;
pdf.Rows = 0;
pdf.Resolution = 96;
pdf.ImageFormat = ImageFormat.Gif;
pdf.drawBarcode(@"D:\Barcodelib.Gif");
}
my question is i am not able to understand why width is differing when i am running from code and when i am running through exe.
And this is happening with every SDK i have downloaded.
I am enable to find my mistake..
please help.
Thank in advance..
god bless u all..:)