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.
- patterns
get patterns(): string[]
Added in version 7.2.0
The regex patterns 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.
- 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.