Serial Number Barcode
Defined under the namespace Scandit.Datacapture.Label
- SerialNumberBarcode
class SerialNumberBarcode : BarcodeField
Added in version 7.2.0
A specialized barcode field for capturing serial numbers. This predefined field type is configured with default settings optimized for common serial number barcode formats.
Use the builder pattern with SerialNumberBarcodeBuilder for convenient configuration, or create instances directly using the various factory methods.
- name
get name(): string
Added in version 7.2.0
The name of this field definition, used to identify it within the label definition.
- valueRegexes
get valueRegexes(): string[]
Added in version 8.0.0
The regexes that identify the target string in the scanned content.
- isOptional
get isOptional(): boolean
Added in version 7.2.0
Whether the field is optional or mandatory. This is helpful when certain fields may not be present on every scan.
- numberOfMandatoryInstances
get numberOfMandatoryInstances(): number |
nullAdded in version 8.4.0
The minimum number of instances of this field that must be captured for the label to be considered complete. This is useful for fields that may appear multiple times on a label, such as multiple serial numbers or repeated information.
- symbologies
get symbologies(): SymbologySettings[]
Added in version 7.2.0
The list of barcode symbologies that this field can accept, along with their specific settings.