Here are the examples of the csharp api class ZXing.PDF417.Internal.DetectionResultRowIndicatorColumn.adjustIncompleteIndicatorColumnRowNumbers(BarcodeMetadata) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
View licensepublic int[] getRowHeights() { BarcodeMetadata barcodeMetadata = getBarcodeMetadata(); if (barcodeMetadata == null) { return null; } adjustIncompleteIndicatorColumnRowNumbers(barcodeMetadata); int[] result = new int[barcodeMetadata.RowCount]; foreach (var codeword in Codewords) { if (codeword != null) { int rowNumber = codeword.RowNumber; if (rowNumber >= result.Length) { // We have more rows than the barcode metadata allows for, ignore them. continue; } result[rowNumber]++; } // else throw exception? (or return null) } return result; }
0
2. Example
View licensepublic int[] getRowHeights() { BarcodeMetadata barcodeMetadata = getBarcodeMetadata(); if (barcodeMetadata == null) { return null; } adjustIncompleteIndicatorColumnRowNumbers(barcodeMetadata); int[] result = new int[barcodeMetadata.RowCount]; foreach (var codeword in Codewords) { if (codeword != null) { int rowNumber = codeword.RowNumber; if (rowNumber >= result.Length) { return null; } result[rowNumber]++; } // else throw exception? (or return null) } return result; }