Note
The Barcode Count mapping API is still in beta and may change in future versions of Scandit Data Capture SDK.
Barcode Spatial Grid
Defined in namespace Scandit.DataCapture.Barcode.Count.Capture.Map
- BarcodeSpatialGrid
class BarcodeSpatialGrid
Added in version 6.17.0
Object that is returned by BarcodeCountSession.GetSpatialMap(). Represents the result of mapping the barcodes in a grid. Depending on the scanned barcodes the grid could be incomplete so for some coordinates the returned barcode could be null.
- Rows()
int
Rows()Added in version 6.17.0
Returns the number of rows in the grid.
- Columns()
int
Columns()Added in version 6.17.0
Returns the number of columns in the grid.
- BarcodeAt()
Barcode BarcodeAt(
int
row,int
column)Added in version 6.17.0
Returns the barcode at the specified coordinates. If there is no barcode null is returned.
- Row()
IList<Barcode> Row(
int
index)Added in version 6.17.0
Returns an array of Barcodes corresponding to the selected row.
Missing barcodes in the row will be represented by null.
- Column()
IList<Barcode> Column(
int
index)Added in version 6.17.0
Returns an array of barcodes corresponding to the selected column.
Missing barcodes in the row will be represented by null.
- CoordinatesForBarcode()
IList<Coordinate2d> CoordinatesForBarcode(Barcode barcode)
Added in version 6.17.0
Returns the list of coordinates for a specific barcode.