I get an exception " Index was outside the bounds of the array." when trying to encode an Aztec symbol with german umlauts.
Here is the C# code I am using:
Code: Select all
var barcodeWriter = new Vintasoft.Barcode.BarcodeWriter ();
barcodeWriter.Settings.Barcode = Vintasoft.Barcode.BarcodeType.Aztec;
barcodeWriter.Settings.ProcessSpecialSymbols = true;
var valueItems = new List<ValueItemBase> ();
valueItems.Add (new TextValueItem (@"German
AÄBCDEFGHIJKLMNOÖPQRSßTUÜVWXYZ
aäbcdefghijklmnoöpqrsßtuüvwxyz"));
barcodeWriter.Settings.ValueItems = valueItems.ToArray ();
var outputImage = barcodeWriter.GetBarcodeAsBitmap ();
return outputImage;
Roman Brandstetter