Click here to Skip to main content
12,956,257 members (68,034 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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.[^]

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;


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..:)
Posted 27-Dec-12 19:08pm
Updated 27-Dec-12 19:09pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,869
CHill60 3,550
Maciej Los 3,302
ppolymorphe 2,080
Jochen Arndt 1,973

Advertise | Privacy | Mobile
Web01 | 2.8.170525.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100