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
- BarcodeSpatialGridElement
class BarcodeSpatialGridElement
Added in version 7.1.0
Object representing an element in the grid presented by BarcodeSpatialGrid. Always contains a mainBarcode barcode property; may contain the optional subBarcode barcode property.
- BarcodeSpatialGrid
class BarcodeSpatialGrid
Added in version 6.17.0
Object that is returned by BarcodeCountSession.GetSpatialMap(). Represents the result of mapping the barcodes, and sub-barcodes if present, 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.
- ElementAt()
BarcodeSpatialGridElement ElementAt(
int
row,int
column)Added in version 7.1.0
Returns the element at the specified coordinates. If there is no element null is returned.
- Row()
IList<BarcodeSpatialGridElement> Row(
int
index)Added in version 7.1.0
Returns an array of elements corresponding to the selected row.
Missing elements in the row will be represented by null.
- Column()
IList<BarcodeSpatialGridElement> Column(
int
index)Added in version 7.1.0
Returns an array of elements corresponding to the selected column.
Missing elements in the row will be represented by null.
- CoordinatesForElement()
IList<Coordinate2d> CoordinatesForElement(BarcodeSpatialGridElement element)
Added in version 7.1.0
Returns the list of coordinates for a specific element.