VintaSoft Barcode .NET SDK Discussions
Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.
Board index < VintaSoft Barcode < VintaSoft Barcode .NET SDK Discussions
IBarcodeInfo[] infos = reader.ReadBarcodes(barcodeImage);
for (int i = 0; i < infos.Length; i++)
{
IBarcodeInfo info = infos[i];
var info1d = info as BarcodeInfo1D;
}
if i use a GS1-128 the cast returns null, however I can see on the private properties of that object that in fact it contains those two properties (narrow bar count and narrow bar size), the strange thing is, if i remove the subset of GS1-128 from the settings the cast works..IBarcodeInfo[] infos = reader.ReadBarcodes(barcodeImage);
for (int i = 0; i < infos.Length; i++)
{
IBarcodeInfo info = infos[i];
if (info is BarcodeSubsetInfo)
info = ((BarcodeSubsetInfo)info).BaseBarcodeInfo;
var info1d = info as BarcodeInfo1D;
...
}