I am Evaluating ASPOSE .net bar-code API to generate PDF 417 and Code39 bar-code.
PDF 417 bar-code is not getting detected by Kofax client when i draw image using windows graphics object or even with bar-code print function if I change resolution.
Also facing a lot of issues while resizing the images as well.
- PDF 417 bar-code is not detected by Kofax client.
Below is the code I am using to generate PDF 417:
BarCodeBuilder myBarcode = new BarCodeBuilder();
myBarcode.EncodeType = EncodeTypes.Code39Standard;
myBarcode.CodeText = “PIDX0082017100100000000PIDX”;
//dpi is 600
myBarcode.Resolution = new Resolution(gfx.DpiX, gfx.DpiY, ResolutionMode.Graphics);
myBarcode.CodeText = “PI2DXD_TEST DRESR INDEX 20170103 PI2DX”;
Bitmap bmp = myBarcode.GetOnlyBarCodeImage();
myBarcode.Save(“3Dbar.bmp”); //this saved image is detected by barcode reader
Bitmap bmp1 = myBarcode.GetCustomSizeBarCodeImage(PixelToMM(bmp.Width, gfx.DpiY) * 5, PixelToMM(bmp.Height, gfx.DpiY) * 5, false);
gfx.DrawImage(bmp1, 10, 10); // this is not detected. this one I am drawing on the page. (i tried changing graphics unit to milimeter as well)
I have uploaded image file(detected) and PDF(not detected) printed.
even with barcode.print function if i change resolution barcode stops getting detected.
when we use print function of barcode can we provide the co-ordinate of the page where we want to print the barcode?
Please let me know the error handling mechanism in ASPOSE library.