BarCode - Not able to read

Here is the code block which i am using to create barcode


using (Aspose.BarCode.LinearBarCode barImage = new LinearBarCode())
{
barImage.CodeText = e.FieldValue.ToString().Replace(’!’, ‘*’);
barImage.SymbologyType = Symbology.Code128;
barImage.ShowBorder = false;
barImage.Font = new System.Drawing.Font(builder.Font.Name, (float)builder.Font.Size);
barImage.ImageQuality = ImageQualityMode.AntiAlias;
using (System.IO.MemoryStream ms = new System.IO.MemoryStream())
{
barImage.SaveImageAs(ms, System.Drawing.Imaging.ImageFormat.Png);
builder.(ms);
}
}

I am able to generate barcode which i am not able to read/scan. I am using barcode version dll Version=1.2.5.0

We are having license for the same.

Please do the needful asap
Hi,

Thank you for your inquiry.

The version you are using is a very old version. Many new features have been introduced and enhancements have been incorporated till now. At Aspose we test the issues with latest version of the API. In case we are able to reproduce the issue, the fix for that issue will be available in the upcoming release only. We do not offer bug fixing in the older versions.

You can generate Code128 barcode using the following code snippet. For details, please visit our online documentation:


CODE:
// Generate the barcode
Aspose.BarCode.BarCodeBuilder objBuilder = new Aspose.BarCode.BarCodeBuilder();
// code text font's type and size
objBuilder.CodeTextFont = new System.Drawing.Font("Verdana", 12f);
// set barcode image quality
objBuilder.ImageQuality = Aspose.BarCode.ImageQualityMode.AntiAlias;
// set barcode image visibility
objBuilder.BorderVisible = false;
// set the barcode symbology
objBuilder.EncodeType = Aspose.BarCode.Generation.EncodeTypes.Code128;
// set the Code text for the barcode
objBuilder.CodeText = "1234567";
// save the barcode image
objBuilder.Save(@"test_Code128.png", Aspose.BarCode.BarCodeImageFormat.Png);