Part Number Barcode
Defined under the namespace Scandit.Datacapture.Label
- PartNumberBarcode
class PartNumberBarcode : BarcodeField
Added in version 8.0.0
A specialized barcode field for capturing part numbers. This predefined field type is configured with default settings optimized for common part number barcode formats used in manufacturing, inventory, and logistics.
- initWithNameAndSymbologySettings(name, symbologySettings)
static initWithNameAndSymbologySettings(name: string, symbologySettings: SymbologySettings[]): PartNumberBarcode
Added in version 8.0.0
Builds a new instance of this class with the provided name.
- initWithNameAndSymbologies(name, symbologies)
static initWithNameAndSymbologies(name: string, symbologies: Symbology[]): PartNumberBarcode
Added in version 8.0.0
Builds a new instance of this class with the provided name.
- initWithNameAndSymbology(name, symbology)
static initWithNameAndSymbology(name: string, symbology: Symbology): PartNumberBarcode
Added in version 8.0.0
Builds a new instance of this class with the provided name.
- name
get name(): string
Added in version 8.0.0
The name of this field definition, used to identify it within the label definition.
- valueRegexes
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 8.0.0
Whether the field is optional or mandatory. This is helpful when certain fields may not be present on every scan.
- numberOfMandatoryInstances
numberOfMandatoryInstances: number | null
Added in version 8.3.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 8.0.0
The list of barcode symbologies that this field can accept, along with their specific settings.