I am trying to generate EAN13 barcode in Wp7.1 using Aspose library. I have the
licensed version which is provided by my client. But the image
generated
shows only the caption below and instead of image there is only black. But when
I try generating Code39Standard barcode image, its generated fine.
The code I
am using is :
StreamResourceInfo
sri = Application.GetResourceStream(newUri("WP7Builder;component/Aspose.BarCode.lic",
UriKind.Relative));
Stream stream = sri.Stream;
Aspose.BarCode.License license = new Aspose.BarCode.License();
license.SetLicense(stream);
var builder = newBarCodeBuilder();
builder.BackColor = Colors.White;
builder.ForeColor = Colors.Black;
builder.SymbologyType = Symbology.EAN13;
builder.CodeText = "1111111111111";
image1.Source = builder.BarCodeImage;
canvas1.Children.Add(builder.Canvas);
the image
generated on emulator looks like the attached image. Please find the attached
image.
Please let
me know what is the problem? Is there some mistake in code?
Please
reply as soon as possible as it is urgent.
Thanks and
Regards,
Deepti
Mandloi
This message was posted using Email2Forum by aske012. (attachment)
Thank you for your inquiry. I have tested your provided sample code against the latest build of Aspose.BarCode for .NET v5.3.0. I regretfully inform you that with the latest version I can reproduce this problem my side. This problem has been logged in our bug tracking system under ticket Id BARCODENET-33408. We will soon investigate the cause of generation failure. Also, you will be notified once the fix for your problem is available for public use.
Please accept our apologies for your inconvenience.
Good news for you is BARCODENET-33408has now been resolved and its fix will be included in the next version of Aspose.BarCode for .NET (v5.4.0). We will inform you via this forum thread as soon as the new release is published.