Barcode Find Item

Defined under the namespace Scandit.Datacapture.Barcode.Find

BarcodeFindItem
class BarcodeFindItem

Added in version 6.24.0

An object that represents an item in Barcode Find.

constructor(searchOptions, content)
constructor(searchOptions: BarcodeFindItemSearchOptions,
        content: BarcodeFindItemContent | null)

Added in version 6.24.0

searchOptions
get searchOptions(): BarcodeFindItemSearchOptions

Added in version 6.24.0

The item data to search, and any other option that control the search.

content
get content(): BarcodeFindItemContent | null

Added in version 6.24.0

Optional info about the item.

BarcodeFindItemSearchOptions
class BarcodeFindItemSearchOptions

Added in version 6.24.0

An object that defines the search options.

constructor(barcodeData)
constructor(barcodeData: string)

Added in version 6.24.0

Create a new BarcodeFindItemSearchOptions object with the provided barcode data.

withBrush(barcodeData, brush)
static withBrush(barcodeData: string,
        brush: Brush | null): BarcodeFindItemSearchOptions

Added in version 7.2.0

Create a new BarcodeFindItemSearchOptions object with the provided barcode data and a custom Brush to be applied to the shown dot.

barcodeData
get barcodeData(): string

Added in version 6.24.0

The barcode data as a string.

brush
get brush(): Brush | null

Added in version 7.2.0

The Brush to be applied to the dot shown over the barcode, when detected.

BarcodeFindItemContent
class BarcodeFindItemContent

Added in version 6.24.0

An object that contains additional info about the product.

constructor(info, additionalInfo, image)
constructor(info?: string,
        additionalInfo?: string,
        image?: string)

Added in version 6.24.0

info
get info(): string | null

Added in version 6.24.0

Optional item name.

additionalInfo
get additionalInfo(): string | null

Added in version 6.24.0

Optional item details.

image
get image(): string | null

Added in version 6.24.0

Optional item image.